RSA key converter
Inspect a PEM key, convert a private key to PKCS#8, or turn a raw DER file into PEM.
Inspect a PEM key
Private key → PKCS#8
DER → PEM
What is RSA key converter?
RSA keys can be stored in PKCS#1 ("BEGIN RSA PRIVATE KEY") or the newer PKCS#8 ("BEGIN PRIVATE KEY") format — some older software only accepts one or the other, so converting is a common small compatibility fix.
How to use it
Paste a key to inspect its type and format, convert a private key to PKCS#8, or convert a raw DER file to PEM.
Example
A PKCS#1 RSA key ("BEGIN RSA PRIVATE KEY") converts to PKCS#8 ("BEGIN PRIVATE KEY")
with identical key material.