RSA & EC Key Generator
Generate RSA, ECDSA, or Ed25519 key pairs as PEM and JWK, with OpenSSH output for RSA.
How to use
Choose an algorithm and, for RSA, a modulus size. RSA-OAEP is for encryption; RSA-PSS and RSASSA-PKCS1-v1_5 are for signatures. ECDSA uses P-256 or P-384, while Ed25519 appears only when the browser supports it. Click Generate key pair, then copy PKCS#8 private PEM, SPKI public PEM, combined JWK, or RSA OpenSSH public-key output. Generation can take noticeably longer at 4096 bits. Private keys exist only in this tab's memory and are never persisted.
FAQ
Which RSA size should I use?
2048 bits is the widely compatible baseline. Use 3072 bits for a larger security margin; 4096 bits increases CPU and key size substantially.
Why is Ed25519 unavailable in my browser?
Web Crypto support for Ed25519 varies by browser and version. The tool probes the current runtime and hides the option when generation fails.
Are generated private keys stored?
No. Key material remains in memory until you regenerate, refresh, or close the tab.