Skip to main content

SSH Key Generator

Generate Ed25519, RSA and ECDSA SSH key pairs in your browser, with an optional passphrase, in the same OpenSSH format as ssh-keygen. Fingerprint and randomart included.

100% client-side · no data leaves your browser

Recommended: small, fast and secure

Usually your email or user@machine; it's shown next to the key

Encrypts the private key file (bcrypt KDF + AES-256-CTR, like ssh-keygen)

Generated with your browser's secure random source. Nothing is sent anywhere.

About this tool

Create an SSH key pair without installing anything. Choose Ed25519 (recommended), RSA 2048/3072/4096 or ECDSA P-256/384/521, add a comment and an optional passphrase, and download id_ed25519 and id_ed25519.pub. Keys are written in the OpenSSH format ssh-keygen uses, and passphrase-protected keys are encrypted the same way (bcrypt KDF with AES-256-CTR). You also get the SHA256 fingerprint, the randomart picture and the commands to install the key on a server or GitHub. A second tab shows the fingerprint and randomart of any public key or authorized_keys file. Keys come from your browser's secure random generator and are never sent anywhere.

How to generate an SSH key

Create an SSH key pair and install it.

  1. 1

    Choose the key type

    Pick Ed25519 unless an older system needs RSA, and add a comment such as your email.

  2. 2

    Add a passphrase

    Enter a passphrase to encrypt the private key file (recommended).

  3. 3

    Download and install

    Generate, download both files into ~/.ssh, run chmod 600 on the private key and add the .pub key to your server or GitHub.