LOADING...

SSH Key Generator

SSH public and private keys

Generate RSA or Ed25519 key pairs entirely in your browser. Nothing is sent to the server or stored by us.
If you enter a passphrase, the private key is encrypted in PKCS#8 format.
The public key can be pasted straight into authorized_keys and similar.

Key type

Choose RSA (4096-bit) or Ed25519 (256-bit).
Ed25519 is lightweight and pairs well with current OpenSSH.

If set, the private key is encrypted as PKCS#8. When empty, you get an unencrypted OpenSSH-format private key.

About SSH public and private keys

Private keys must be kept secure on the user’s device or in a keychain.
Public keys are installed on the server you connect to (often in ~/.ssh/authorized_keys).
The pair is used for SSH logins, Git over SSH, and similar workflows.
Keys and passphrases on this page are generated only in your browser (they are not sent to this site’s server).
In production, follow your organization’s policy on passphrases and key handling.

Depending on the browser, this tool may not work. If you run into issues, generating keys with ssh-keygen on the server is the most reliable approach.