Certificates and keys

Private key viewer

To open a Private key file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

Private key in the viewer
ReadPKCS#8, encrypted PKCS#8, PKCS#1, SEC1, DSA, OpenSSH, PuTTY and SSH.com keys
Encrypted keysThe cipher and key derivation named; OpenSSH and PuTTY keys still show their public fingerprint
MatchesIn a file with certificates, the one the key belongs to
Files with no extensionid_rsa, id_ed25519 and others opened from their contents
Extensions.key, .pem, .der, .pk8, .p8, .ppk
UploadNone: opened on your device

What is a Private key file?

In short

A private key file is the secret half of a key pair. It comes as PEM text (PKCS#8, PKCS#1 RSA or SEC1 EC, encrypted or not), as DER, as an OpenSSH key such as id_ed25519, or as a PuTTY .ppk.

The key type and size or curve, its format, whether it is encrypted and how, and the public key’s fingerprints where they can be worked out without a password: SHA-256 of the public key and the SSH fingerprint. Key material is never shown unless you press Show the key. Private keys have no Text tab.

How to open a Private key file

  1. Add your Private key. Drop the file in the box, choose it or paste it.
  2. Look at it. The key type and size or curve, its format, whether it is encrypted and how, and the public key’s fingerprints where they can be worked out without a password: SHA-256 of the public key and the SSH fingerprint. Key material is never shown unless you press Show the key. Private keys have no Text tab.
  3. Take it further. Open in hands it, in a new tab, to File converter.

Questions

Open both, or one file with both: the key’s public SHA-256 is the same as the certificate’s, and a file holding both says which matches.

It is read in your browser and stays on your device. The key itself is only drawn on the page if you press Show the key.

The card says Encrypted or Not encrypted, and names the cipher for encrypted keys.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related