RSA Key Generator
Generate RSA public/private key pairs using the browser's WebCrypto API (RSASSA-PKCS1-v1_5 or RSA-OAEP). Choose 2048 or 4096-bit key size. Export both keys in PEM format (PKCS#8 private, SPKI public) or as base64 DER. Keys are generated locally and never leave your browser.
Loading tool...Loading tool...
Common Use Cases
- Generate SSH key pairs for testing
- Create JWT signing key pairs
- Test RSA encryption in applications
- Generate test certificates
Frequently Asked Questions
What is the difference between 2048 and 4096 bit keys?
4096-bit RSA is significantly more resistant to brute-force attacks but takes ~4x longer to generate and sign/verify. For most web applications, 2048-bit is sufficient through 2030+. Use 4096-bit for long-lived certificates or high-security environments.
Related Tools
JWT GeneratorGenerate signed JWTs with custom header, payload, and secret. Supports HS256, HS384, HS512.Hash GeneratorGenerate MD5, SHA-1, SHA-256, and SHA-512 hashes from any text. Compare all algorithms side by side.Bcrypt GeneratorHash passwords with bcrypt and verify bcrypt hashes. Choose work factor 4–14.
Tool Info
CategorysecurityAI EnhancementNoData StorageZero retention