Ed25519, ECDSA and RSA keys as PEM, JWK and OpenSSH, round-trip tested
SSH Key Generator
Get the two SSH key files you need for GitHub or a server when you cannot run ssh-keygen.
Loading tool…
How to use ssh key generator
Keep Ed25519 unless the server only accepts RSA.
Type your email or device name as the comment.
Generate, then download both files.
Move them into ~/.ssh, run chmod 600 on the private key, and paste the .pub line into GitHub or authorized_keys.
What this tool does
- OpenSSH private keys in the openssh-key-v1 format that ssh and ssh-keygen read.
- Public key lines starting ssh-ed25519, ssh-rsa or ecdsa-sha2-nistp256.
- The SHA256 fingerprint GitHub and ssh-keygen -l show, so you can match keys later.
- Ed25519, ECDSA P-256 and RSA 3072 or 4096.
How the result is verified
The OpenSSH private key is parsed back, used to sign a random message and checked against the public line; the PEM copy is cross-checked as the same key. Keys from this tool were also tested with ssh-keygen -l, ssh-keygen -y and ssh-keygen -Y sign and verify.
Frequently asked questions
Where do the files go?
On macOS and Linux, save the private key as ~/.ssh/id_ed25519 and the public key as ~/.ssh/id_ed25519.pub, then run chmod 600 ~/.ssh/id_ed25519. On Windows the folder is C:\Users\you\.ssh.
Why does ssh say the key permissions are too open?
ssh refuses private keys other users can read. Run chmod 600 on the private key file and try again.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
RSA 2048 to 4096 keys as PKCS#8, PKCS#1, SPKI, JWK and OpenSSH
Memorable random word passphrases from the EFF list, with entropy shown
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files