RSA Key Pair Generator (2048 & 4096-bit)
Generate cryptographically secure 2048-bit, 3072-bit, and 4096-bit RSA public and private key pairs in standard PKCS#8 and SPKI PEM format in your browser.
1 How to Use RSA Key Pair Generator (2048 & 4096-bit)
- 1. Select key modulus (2048 or 4096 bits).
- 2. Click Generate to run WebCrypto prime generation.
- 3. Download or copy private and public PEM keys.
⚙️ Cryptographic Specifications
- Algorithm
- RSA-OAEP / PSS
- Execution Engine
- Web Cryptography API (SubtleCrypto)
- Environment
- Client Browser Sandbox
- Network Telemetry
- 0 Bytes (Zero Server Transmission)
🛡️ Security & Compliance
Enterprise developers can safely execute this tool with production secrets. Because execution takes place entirely within your browser's local V8 JavaScript runtime, no payloads are transmitted over HTTP, cached on third-party proxies, or stored in server logs.
Verified Safe for SOC2, HIPAA, and GDPR developer compliance audits.
Frequently Asked Questions
Is 2048-bit RSA still secure?
Yes, 2048-bit RSA provides approximately 112 bits of security and is approved by NIST through 2030.
Can anyone see my generated private key?
Never. Key generation executes 100% inside your browser memory using window.crypto.subtle.
Related Cryptographic Tools
Ed25519 Key Pair Generator
Generate high-speed, collision-resistant Ed25519 Edwards-curve Digital Signature Algorithm key pairs in OpenSSH and PEM formats.
SSH Key Pair Generator (OpenSSH / ed25519 / RSA)
Generate SSH keys (ed25519 and RSA 4096) directly in OpenSSH format (id_ed25519 and id_ed25519.pub) for GitHub, GitLab, and Linux servers.
RSA Public Key Encryptor
Encrypt secret payloads using an RSA public key (RSA-OAEP with SHA-256) in your browser. Only the private key holder can decrypt.