RSA / EC Key Generator
Generate RSA and EC key pairs in-browser.
Keys are generated using the Web Crypto API in your browser. The private key never leaves your machine. PEM output uses SPKI for public keys and PKCS#8 for private keys.
About this tool
Generate RSA (2048–4096 bit) and EC (P-256/P-384/P-521) key pairs using the Web Crypto API, exported as PEM — keys are created locally and never leave your browser.
It runs completely in your browser — no input is sent anywhere, and this page loads no ads or third-party scripts, so it is safe to use with data you would not paste into a hosted service.