Generate an SSH key pair in your browser: Ed25519, ECDSA or RSA in OpenSSH format, with the fingerprint, randomart and install commands.
Initializing in your browser…
Generate a certificate signing request and private key in your browser, with SANs and RSA or ECDSA keys, checked before you send it to a CA.
Generate a .gitignore from 52 templates for languages, frameworks, editors and systems, and see exactly which files git will ignore or keep.
Make random passwords in one click, with the strength in bits calculated from the settings and the time each would take to guess.
You need an SSH key for an older server that only accepts RSA, and you want to be sure ssh-keygen reads it before you paste it anywhere.
Chosen
Key type RSA 2048 Comment you@laptop
Inside the public key, and what ssh-keygen makes of it
7 bytes algorithm name
3 bytes public exponent e, as an mpint
257 bytes modulus n, as an mpint
279 bytes in all
$ ssh-keygen -l -f id_rsa.pub
2048 SHA256:jH4HFp5UW9XX/UTWapyr0r2RbDyrOL2f17NqsDllFRg you@laptop (RSA)A 2048-bit modulus is 256 bytes, but its field holds 257: SSH stores integers so that a value with its top bit set gets a leading zero byte, and an RSA modulus always has its top bit set. A tool that leaves that byte out produces a line that looks right but that ssh-keygen refuses as "not a public key file". Here ssh-keygen reads the line and prints the same SHA256 fingerprint the page shows for that key; your own key will have a different fingerprint, since every key is new.
Generate an SSH key pair in your browser, in the same OpenSSH format ssh-keygen writes. Choose Ed25519, ECDSA or RSA, add a comment, and download the private key and the public key line for GitHub, GitLab or a server. The fingerprint and randomart are shown exactly as ssh-keygen prints them.
How SSH keys work. An SSH key pair has two halves. The public key is a single line you give to a server, GitHub or GitLab, which adds it to its list of authorised keys. The private key stays on your computer and proves who you are when you connect. Nobody can work out the private key from the public one, which is why the public line is safe to share and the private file never is.
Which type to choose. Ed25519 is the modern default: small keys, fast, and the type ssh-keygen makes unless told otherwise. ECDSA P-256 is accepted almost everywhere Ed25519 is. RSA 2048 or 3072 is for older servers and devices that know nothing newer; ssh-keygen's own RSA default is 3072 bits. Every option notes who accepts it, and any type your browser cannot generate is marked.
Files you can use straight away. The private key is written in the OpenSSH format, the same one ssh-keygen produces, and the public key is the one-line form that goes into authorized_keys. Both download with the names ssh expects, such as id_ed25519 and id_ed25519.pub, and the commands shown move them into ~/.ssh with the right permissions, asking before they replace a key you already have.
Checked as it is made. The tool reads its own public key back and checks every field, then shows the SHA-256 fingerprint and the randomart picture, so you can compare them with ssh-keygen -l and ssh-keygen -lv on your machine.
The passphrase. The private key is created without a passphrase, because adding one needs a slow key-stretching step best done on your own machine. Add one as soon as the key is saved, with ssh-keygen -p, so a copied file is useless without it. Nothing you generate here is uploaded.
Generate an Ed25519 key with your e-mail as the comment, save both files to ~/.ssh, and paste the public key line into GitHub's SSH keys settings.
If a server or device rejects Ed25519, generate RSA 3072 instead; RSA keys are accepted by SSH servers going back many years.
Make a separate key for each CI system or deployment, with a comment naming it, so one can be removed without touching the others.
The key is created by your browser's built-in cryptography and never sent anywhere. Download the files, add a passphrase, and close the page. If your policy requires keys made on the machine that uses them, run ssh-keygen there instead.
Ed25519 for almost everything: it is short, fast and accepted by GitHub, GitLab and every current SSH server. Use RSA 3072 only for old systems that do not support it.
Encrypting the key properly takes a deliberately slow step that belongs on your own machine. Run ssh-keygen -p -f ~/.ssh/id_ed25519 once the key is saved to add one.
In the .ssh folder in your home directory, with the private key readable only by you (chmod 600). The commands shown do this and ask before replacing an existing key.
It is a picture drawn from the fingerprint, so you can recognise a key at a glance. ssh-keygen -lv draws the same picture for the same key.
Yes. Run ssh-keygen -l -f ~/.ssh/id_ed25519.pub; it prints the same SHA256 fingerprint shown here.
This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.