RSA, ECDSA & SSH Key Pair Generator
Generate RSA, ECDSA, and Ed25519 key pairs via Web Crypto with PEM and OpenSSH .pub downloads.
Related security tools
All Security toolsPassword Generator
Generate high-entropy passwords or passphrases using browser Web Crypto randomness.
Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384, and SHA-512 checksums for text or files.
Passphrase Generator
Generate memorable Diceware-style word passphrases with Web Crypto entropy calculation.
Text Redactor
Automatically detect and mask emails, phones, cards, SSNs, IPs, tokens, and custom terms.
About RSA, ECDSA & SSH Key Pair Generator
Generate RSA (2048/3072/4096-bit), ECDSA (P-256/P-384), and Ed25519 asymmetric key pairs locally via Web Crypto with PEM and OpenSSH .pub downloads.
How to use RSA, ECDSA & SSH Key Pair Generator
- 1
Choose your key algorithm and size (such as RSA 2048/4096, ECDSA P-256, or Ed25519).
- 2
Optionally enter an SSH public key comment (like user@workstation) and click Generate Key Pair.
- 3
Copy or download the SPKI public PEM, PKCS#8 private PEM, OpenSSH .pub line, and SHA-256 fingerprint.
Frequently asked questions
Are generated private keys ever transmitted over the internet?
No. Key generation runs entirely on your device using window.crypto.subtle.generateKey().
Can I paste the OpenSSH .pub output into GitHub or authorized_keys?
Yes. For RSA and Ed25519 keys, the tool encodes a standard RFC 4253 OpenSSH public key line along with its SHA-256 fingerprint.
What if Ed25519 is not supported in my browser?
Older browsers without native Web Crypto Ed25519 show a clear notice and let you generate universally supported RSA or ECDSA keys immediately.
