Introduction
RSA key pairs are used for SSH authentication, JWT signing, TLS certificates, and encrypted messaging. Generating them usually requires command-line tools.
This tool generates RSA 2048 or 4096-bit key pairs directly in your browser using the Web Crypto API.
Key sizes: 2048 (standard) · 4096 (stronger) · Format: PEM
How to Use
- Choose key size
2048 for most uses, 4096 for high security. - Click Generate Key Pair
Takes 1–5 seconds. - Copy or download keys
Save both public and private PEM files.
Keep the private key secret. Never share it. Store it in a password manager or secure vault.
About This Tool
Uses the browser's Web Crypto API (crypto.subtle.generateKey) to produce RSA-PSS/SHA-256 keys. Keys are exported in standard PEM format compatible with OpenSSL, SSH, and most tools.
Privacy
Keys are generated locally and never leave your device.