SSH Key Generator
Generate an Ed25519 or RSA SSH key pair in your browser.
Free SSH key generator. Create an Ed25519 or RSA key pair with an OpenSSH public key and a PKCS#8 private key, entirely in your browser using WebCrypto. Nothing is uploaded and no key ever leaves your device.
How to use the SSH Key Generator
- 01Pick a key type — Ed25519 or RSA 2048/4096 — and add an optional comment.
- 02Click Generate to create the pair locally with WebCrypto.
- 03Copy or download the public key (.pub) and the private key.
Frequently asked questions
Are the keys generated on a server?
No. The key pair is created entirely in your browser with the built-in WebCrypto API, so the private key never leaves your device and is never uploaded anywhere. Reload or click Generate again for a fresh pair.
What format is the private key?
The private key is exported as PKCS#8 PEM (a -----BEGIN PRIVATE KEY----- block), which OpenSSH accepts. If you want the native OpenSSH private-key format, run ssh-keygen -p -f id_ed25519 on the downloaded file to rewrite it in place.
Which key type should I choose?
Ed25519 is the modern default — short, fast and very secure. Choose RSA 3072/4096 only when you need to support older systems that don't understand Ed25519. The public key is emitted in standard OpenSSH format (ssh-ed25519 … or ssh-rsa …).