RSA Key Pair Generator
Generate an RSA key pair of 2048, 3072 or 4096 bits and get it as PEM (PKCS#8 and SPKI) plus the OpenSSH public key. The keys are made on your device and never leave it.
How to make an RSA key pair
Choose the size
2048 bits is the minimum today, and 3072 is a safer choice.
Press generate
Large keys can take a few seconds.
Save the keys
Copy or download the private and public keys.
When to use RSA Key Pair Generator
You need an RSA key pair for signing, encryption or a test setup, with PEM files ready to use.
You want an OpenSSH public key line alongside the PEM keys.
Tips for a better RSA Key Pair Generator result
Choose 3072 bits, or 4096 if slower speed is acceptable. 2048 is the minimum today.
Save the private key as PKCS#8 PEM and share only the public key.
RSA Key Pair Generator: limits and what to check
Large keys can take a few seconds to generate.
For the most valuable keys, make them on the machine that will use them, and keep the private key secret.
About RSA Key Pair Generator
Generate an RSA key pair on your device and get the private key as PKCS#8 PEM, the public key as SPKI PEM and the public key in OpenSSH form. Nothing is uploaded, and no key is kept.
FAQs
Is it safe to make keys in a browser?
The keys come from your browser's secure random source and are never sent anywhere. For the most valuable keys, make them on the machine that will use them.
Which size should I use?
3072 bits, or 4096 if you can accept the slower speed. Ed25519 is a modern alternative.
What do I do with the PEM files?
Use the private key to sign or decrypt, and share the public key.