Key generator / 02
Generate a fresh key.
Create strong RSA, elliptic-curve, or Ed25519 key material locally. The result stays in this page until you copy or download it.
Generated output
Private key
Terminal companion
Generate with OpenSSL
Useful when you want the same choices outside the browser.
RSA
openssl genpkey -algorithm RSA -out private_key.pem -aes256Copied!
Elliptic Curve
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:prime256v1 -out ec_key.pem -aes256Copied!
Ed25519
openssl genpkey -algorithm Ed25519 -out ed25519_key.pemCopied!
The -aes256 option encrypts RSA and EC keys. Ed25519 keys do not support password encryption in OpenSSL.