Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Web Tools
  3. SSH Key Generator
Add to favorites

SSH Key Generator

Generate an SSH key pair in your browser: Ed25519, ECDSA or RSA in OpenSSH format, with the fingerprint, randomart and install commands.

Runs locally in your browserMore web toolsJump to full guide
Related readingSSH Keys Explained: Secure Authentication Without Passwords13 min

Initializing in your browser…

You might also like

CSR Generator

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.

.gitignore Generator

Generate a .gitignore from 52 templates for languages, frameworks, editors and systems, and see exactly which files git will ignore or keep.

Password Generator

Make random passwords in one click, with the strength in bits calculated from the settings and the time each would take to guess.

SSH Key Generator: a worked example

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
What SSH Key Generator produces

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.

About the SSH Key Generator

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.

Key features

  • Ed25519, ECDSA P-256, P-384 and P-521, and RSA 2048, 3072 and 4096
  • OpenSSH private key format, as ssh-keygen writes it
  • Public key line ready for authorized_keys, GitHub and GitLab
  • SHA-256 and MD5 fingerprints and the randomart picture
  • Every field of the public key read back and checked
  • Downloads named id_ed25519, id_rsa and so on
  • Install commands that never overwrite an existing key silently
  • Generated in your browser; nothing is uploaded

How to use

  1. 1Choose a key type; Ed25519 suits almost everyone.
  2. 2Add a comment, such as your e-mail or the machine name, to recognise the key later.
  3. 3Press Generate key pair.
  4. 4Download the private key and the public key, then run the commands shown to move them into ~/.ssh.
  5. 5Add a passphrase with ssh-keygen -p and paste the public key line into GitHub, GitLab or the server.

SSH keys, explained

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.

Examples

  • A key for GitHub

    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.

  • Access to an older server

    If a server or device rejects Ed25519, generate RSA 3072 instead; RSA keys are accepted by SSH servers going back many years.

  • A deploy key

    Make a separate key for each CI system or deployment, with a comment naming it, so one can be removed without touching the others.

Tips & best practices

  • Use one key per device, so losing a laptop means removing one key, not all of them.
  • Add a passphrase and use ssh-agent, so you type it once per session.
  • Never paste the private key into a website, chat or ticket; only the .pub line is meant to be shared.
  • Put a clear comment on each key, such as name@laptop-2026, to keep authorized_keys readable.

Frequently asked questions

Is it safe to generate an SSH key in a browser?

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.

Which key type should I use?

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.

Why does the private key have no passphrase?

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.

Where do I put the files?

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.

What is the randomart for?

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.

Can I see the key's fingerprint later?

Yes. Run ssh-keygen -l -f ~/.ssh/id_ed25519.pub; it prints the same SHA256 fingerprint shown here.

Related tools and how they differ

  • Password Generator: Makes a strong passphrase to protect the private key once it is saved.
  • PEM/DER Converter: Tells you what an unfamiliar key file is and converts PEM keys to DER.
  • Self-Signed Certificate Generator: Makes a TLS certificate and key for a local web server.

Further reading

  • SSH Keys Explained: Secure Authentication Without Passwords13 min read

Private by design

This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.