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.

Key type
RSA key size
Preparing cryptography...

Generated output

Private key

Current page only
 

Terminal companion

Generate with OpenSSL

Useful when you want the same choices outside the browser.

RSA

openssl genpkey -algorithm RSA -out private_key.pem -aes256

Elliptic Curve

openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:prime256v1 -out ec_key.pem -aes256

Ed25519

openssl genpkey -algorithm Ed25519 -out ed25519_key.pem

The -aes256 option encrypts RSA and EC keys. Ed25519 keys do not support password encryption in OpenSSL.