🔑
RSA Key Pair Generator
Generate RSA public/private key pairs in PEM format. Choose key size (1024, 2048, or 4096 bits). Uses Web Crypto API for secure key generation.
Frequently Asked Questions
What key size should I choose?
2048 bits is the current standard for most applications. 4096 bits provides extra security for long-term use. 1024 bits is considered insecure and should be avoided.
What format are the keys in?
Public key: SPKI (Subject Public Key Info) in PEM format. Private key: PKCS#8 in PEM format. These are standard formats supported by OpenSSL and most tools.
Is this safe to use?
Key generation uses the Web Crypto API in your browser. The private key never leaves your device. For production, use dedicated tools like OpenSSL.
Related Tools
How to Use
- 1 Select the key size: 2048 bits (standard) or 4096 bits (extra security).
- 2 Click **Generate** to create an RSA key pair using the Web Crypto API.
- 3 Copy the public key (SPKI/PEM) and private key (PKCS#8/PEM).
- 4 Use the keys for encryption, signing, or SSH authentication.