Private Key Inspector
Find out what kind of private key you have, its size and curve, convert between PKCS#1, SEC1 and PKCS#8, and match it to a certificate.
Private key
Stays in your browserCertificate, CSR or public key (optional)
Stays in your browserKey details
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to RSA Encryption or CSR Decoder.
Free Online Private Key Inspector and Converter
Paste a private key to see its type, size and format. Convert between PKCS#1, SEC1 and PKCS#8, get the matching public key, and check that the key belongs to a certificate or certificate request. It gives developers a quick browser-based way to solve a focused private key inspector task before moving the result into a project.
How to inspect a key
Paste the key (it starts with -----BEGIN) in the first box. Its type, size, format and public key fingerprint appear at once. If it is encrypted, a passphrase box appears.
How to check it matches a certificate
Paste the certificate, certificate request or public key in the second box. You get a clear match or no match.
Common mistakes
- Deploying a certificate with a key from a different request: the server will not start, or clients fail the handshake. Check the match first.
- Sharing a private key to get help. Share the public key, certificate or CSR instead.