SSH Key Generator
Generate an OpenSSH public and private key pair on this device. Nothing is uploaded. If you leave or clear the page, a key you did not download cannot be recovered.
Input
The private key stays in this browser tab. It is never uploaded, and it cannot be recovered after you leave or clear the page unless you already downloaded it.
Result
How to use SSH Keys
- Choose an algorithmEd25519 is the usual default. RSA 2048, 3072, or 4096 is also available.
- Generate the key pairKeys are created with the Web Cryptography API on this device. They are not sent to a server.
- Download both filesSave the private key and the .pub file now. This page does not keep them after you leave or tap Clear.
Limits and how it works
- Keys stay on your device and are not uploaded.
- Ed25519 and RSA (2048, 3072, or 4096 bits) are supported when the browser implements them in Web Crypto.
- The private key is written without a passphrase. Store it only in a place you trust.
- This tool does not access ssh-agent, hardware tokens, or remote hosts.
How SSH keys are generated on this page
This page generates SSH keys in your browser with the Web Cryptography API. No third-party cryptography library is used, and no key material is uploaded. The private key is shown only in this tab.
The files use OpenSSH format: a one-line public key and an unencrypted OPENSSH PRIVATE KEY block. The OpenSSH passphrase format needs a bcrypt KDF that this page does not bundle. After you download the key, you can add a passphrase with ssh-keygen -p on your computer.
Closing the tab, refreshing, or tapping Clear discards the key from memory. If you did not copy or download the private key, it cannot be recovered.
Frequently asked questions
Are my keys uploaded?
No. Generation and encoding happen in your browser. Nothing is sent to a server.
Can I recover a key I forgot to download?
No. The private key exists only in this tab until you copy or download it, or until you clear the page.
Which algorithm should I use?
Ed25519 is a good default for new keys. Choose RSA when a server or tool still requires it.
Why is the private key not encrypted?
OpenSSH's encrypted private key format depends on bcrypt, which this page does not include. You can set a passphrase later with ssh-keygen -p.
Related tools
All toolsPassword Generator
Generate strong random passwords and passphrases with your browser’s secure random generator.
HMAC Generator
Compute HMAC-SHA-1, SHA-256, SHA-384 and SHA-512 of text or a file, entirely in your browser.
Hash Generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.
X.509 Certificate Decoder
Decode a PEM certificate or CSR in your browser. Nothing is uploaded.