Public Key Parser

Parse and display public key information.

Inspect a public key: its algorithm (RSA, ECDSA P-256, P-384 or P-521, or Ed25519), size, the matching OpenSSH public key, its SHA-256 fingerprint and the SPKI pin used for certificate pinning. Paste a PEM public key (SPKI or PKCS#1), a certificate, or an OpenSSH key (ssh-ed25519 AAAA…). Everything is parsed in your browser.

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

  • Convert a PEM public key to OpenSSH format
  • Get the SPKI pin for certificate pinning in an app
  • Check a key's algorithm and size

How to use

  1. Paste the public key or certificate.
  2. Read the details.
  3. Copy the OpenSSH key, fingerprint or pin.

FAQ

What is an SPKI pin?

A Base64 SHA-256 hash of the key's SubjectPublicKeyInfo. Apps use it to accept only certificates with that key.

Can I inspect a private key?

Use the private key parser, but only with test keys.