What is the RSA Key Pair Generator?
Create an RSA key pair for testing encryption, signing or JWTs. Pick the size and get the public and private keys in PEM format. Keys are made with your browser's cryptography, and the private key is never sent anywhere.
Features
Three sizes
2048, 3072 or 4096 bits.
PEM format
Ready for most tools.
Private
Made on your device.
How to use the RSA Key Pair Generator
- 1
Choose the size and what the keys are for.
- 2
Press Make keys.
- 3
Keep the private key secret; share only the public key.
Who it is for
Testing
Keys for development and demos.
Tips for better results
- For production servers, generate keys on the server itself with OpenSSL.
Questions people ask
Which size should I choose?
2048 is the minimum today; 3072 or 4096 for long-term use.
Is what I type sent anywhere?
No. Everything runs in your own browser with its built-in cryptography. Nothing is sent to our server or saved.
Which size?
2048 bit is the minimum today; 3072 bit is good until 2030 and beyond. 4096 bit takes a few seconds to make.