Generators & QR
SSH Key Generator - Generate SSH key pairs in the browser
Generate SSH key pairs in the browser
Formulas and edge cases are reviewed against authoritative references before publication. For methodology, editorial standards, or corrections, use the links below.
Frequently asked questions
Is it safe to generate keys in browser?
Yes, keys are generated locally using Web Crypto API. Nothing is sent to servers.
Which key type should I use?
Ed25519 is recommended - small, fast, and secure. RSA-4096 for compatibility.
Should I use a passphrase?
Yes, especially for keys stored on shared or portable devices. Adds encryption layer.
Related tools
About this tool
Inputs
- Key Type
- Key Comment
- Passphrase (optional)
- Ed25519
- RSA 2048
- RSA 4096
- ECDSA 256
- ECDSA 384
- user@hostname
Results
- Public Key
- Private Key
- Fingerprint (SHA256)
- Key Size
- authorized_keys Format
- Generate New Keys
- Generating keys...
The SSH Key Generator creates output you can use immediately. Specify your requirements and the tool produces a result that meets them. Uniqueness guarantees vary: UUIDs are statistically unique, while sequential IDs are deterministically unique. The required inputs are key type, key comment, passphrase (optional), ed25519, rsa 2048, rsa 4096, ecdsa 256, ecdsa 384 and user@hostname. Once provided, the result — public key, private key, fingerprint (sha256) and other key metrics — appears instantly. Having a dedicated tool to generate ssh key pairs in the browser saves time you would otherwise spend searching for formulas or setting up a spreadsheet. Yes, keys are generated locally using Web Crypto API.
Nothing is sent to servers. Password entropy = length × log₂(character_set_size). A 16-character password from 95 printable ASCII characters has about 105 bits of entropy. Check that the output meets the target system's format requirements before using it. For security-sensitive output like passwords and API keys, unpredictability is the most important property. Experiment with different inputs to compare scenarios. Seeing how the result shifts tells you which factors matter most.