RSA Key Pair Generator
Generates an RSA public/private key pair with the Web Crypto API and exports both in PEM (SPKI public, PKCS#8 private) — the format OpenSSL, SSH and most libraries expect. Choose the modulus size and whether the keys are for encryption (OAEP) or signing (PSS).
Runs 100% in your browser — keys and data never leave your device.
Read the full guide to this tool
Notes
- 2048-bit RSA is the current minimum; 3072-bit matches the 128-bit security level. RSA keys are far larger and slower than elliptic-curve keys at equivalent strength.
- The private key is generated in your browser and never transmitted. Treat the PEM as a secret — anyone with it can decrypt or sign on your behalf.
- Runs 100% in your browser — keys and data never leave your device.