Inputs
Worked example
This public key was generated on 26 October 2026 only to illustrate the output; its private half was deleted.
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMwpdShsuY2yBoxiw/u9UD7KkOBqFwTy0zbR5FDQ7JQd example@tools.tnaado.ca
Decoding the second field gives a 51-byte blob that starts with the length-prefixed name ssh-ed25519. Hashing the blob with SHA-256 and base64-encoding the 32 bytes gives SHA256:kQ4YxL8JhlSRRWPfpJWkPY9xnJpvHa/eSXWBCTUpRhM. The legacy MD5 form is MD5:50:0e:84:d3:e7:68:19:9d:60:b8:f4:8b:a6:9f:d5:7e, and the bit length is 256. ssh-keygen -l -f prints the same SHA256 and MD5 values for this key.
Frequently asked questions
Which fingerprint should I compare, SHA256 or MD5?
SHA256. OpenSSH shows SHA256 by default, and MD5 is kept only to match older logs and documentation. Compare the same form on both sides; the two never look alike.
Why does my fingerprint have no trailing equals sign?
OpenSSH removes the base64 padding from SHA256 fingerprints. A 32-byte hash would otherwise end in one =, which is why this tool drops it too.
Does the comment at the end of the line change the fingerprint?
No. The fingerprint is computed from the key blob only, so changing user@host leaves it identical.
Is it safe to paste my key here?
Paste only the public key line. The calculation runs in your browser and nothing is sent, but a private key should never be pasted into any web page.
Sources
Last checked
- RFC 4253 section 6.6 (public key blob format)
- OpenSSH ssh-keygen manual (fingerprint forms and the
-land-Eoptions)
Standards cited as published; the arithmetic and defaults are this tool’s own. Runs entirely in your browser. Nothing you type is sent or stored.
Public keys only
Paste the contents of a .pub file or an authorized_keys line. Never paste a private key into any web page, including this one.
Result
Paste a public key and press Calculate.