Private Key Parser

Parse and display private key metadata (never stores keys).

Inspect a private key without sending it anywhere: see its algorithm and size, whether it's encrypted (and how), and derive the matching public key in OpenSSH format with its SHA-256 fingerprint. It reads PEM keys in PKCS#1, PKCS#8 and SEC1 formats and OpenSSH private keys, for RSA, ECDSA and Ed25519. Parsing happens in your browser, but a private key should still never be pasted into a website you don't control: use test keys.

Only paste test keys or keys you're about to retire. This page reads the key locally and never uploads it, but a private key pasted anywhere should be treated as exposed if your device isn't trusted.

Supports RSA, ECDSA (P-256, P-384, P-521) and Ed25519 in PEM (SPKI, PKCS#1, PKCS#8, SEC1) and OpenSSH formats. Shows the matching OpenSSH public key, its SHA256 fingerprint and the SPKI pin used for certificate pinning.

Common use cases

  • Find which public key matches a private key file
  • Check a test key's type and size
  • Check whether a key file is passphrase-protected

How to use

  1. Paste the private key (a test key).
  2. Read the type, size and encryption.
  3. Copy the matching public key or fingerprint.

FAQ

Should I paste a real private key?

No. Even though nothing is uploaded here, treat private keys as secrets. Use ssh-keygen -y -f key on your own machine to get the public key.

Can it read encrypted keys?

It tells you a key is encrypted and which scheme is used. It doesn't ask for or decrypt the passphrase.