SSH Key Inspector
See an SSH public key's type, size and fingerprints (SHA-256 and MD5), and whether it's strong.
Runs in your browser
Paste a public key, like the contents of ~/.ssh/id_ed25519.pub.
Which key is this?
GitHub, GitLab, your servers and your cloud console all list SSH keys by fingerprint, not by the key itself. To match a key in authorized_keys or a .pub file to the one a service shows, you need the same fingerprint. Paste one or more public keys and get exactly what ssh-keygen -l shows: the SHA-256 fingerprint (SHA256:…) and the older MD5 form, plus the key type, size and comment.
Each key is rated too. Ed25519 and ECDSA keys are modern and strong; RSA is fine at 2048 bits and better at 3072 or more; DSA keys have been disabled in OpenSSH for years. authorized_keys lines with options like from="…" or command="…" work, and so do RFC 4716 blocks (---- BEGIN SSH2 PUBLIC KEY ----).
How to use the SSH Key Inspector
Paste public keys. From a
.pubfile,authorized_keys, or a key a service shows you. One per line.Compare fingerprints. Copy the SHA-256 or MD5 fingerprint to match it against a service.
Check the rating. Replace weak keys with a new Ed25519 key.
Tips
- Make a modern key with
ssh-keygen -t ed25519 -C "you@example.com". - GitHub and most services now show SHA-256 fingerprints; some older tools still show MD5.
- Only ever share the public key (
.pub). The private key file never leaves your machine.
Frequently asked questions
Do the fingerprints match ssh-keygen?
Yes. SHA-256 is computed exactly as ssh-keygen -l -f key.pub does, and MD5 as ssh-keygen -E md5 -l -f key.pub.
Can I paste a private key?
Please don't. This tool only needs public keys and refuses private ones, so they never sit in a web page.
Which key types are supported?
Ed25519, ECDSA (P-256, P-384, P-521), RSA, DSA, security-key types (sk-…) and OpenSSH certificates.
Is anything uploaded?
No. Keys are read in your browser.