Generate an RSA key pair in your browser and export it as PEM, with a SHA-256 fingerprint.
Public Key Fingerprint Calculator
Compute a SHA-256 fingerprint of a public key or certificate so you can compare it against a published value.
- Free
- No sign-up
- Runs in your browser
Input
0 characters
Processed entirely in your browser. Nothing is uploaded.
Fill in Public key or certificate to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Paste the PEM block, including the BEGIN and END lines.
- 2
Compare the hexadecimal digest against the fingerprint published by whoever issued the key.
- 3
A fingerprint is only as trustworthy as the channel you got the reference value from.
Limits and caveats
Published up front rather than buried, because knowing where a tool stops is part of being able to trust it.
- Hashes the bytes you paste. It does not parse the key, so it cannot report the algorithm, key size or validity dates - and it will happily fingerprint text that is not a key at all.
Questions about Public Key Fingerprint Calculator
Why does my fingerprint not match OpenSSH’s?
Because they hash different things. This hashes the exact bytes you paste. `ssh-keygen -l` hashes the decoded base64 key blob and shows it Base64-encoded, and `openssl x509 -fingerprint` hashes the DER certificate. Same algorithm, different input and formatting - so compare like with like.
What is a fingerprint actually for?
Comparing a key you received against one published through a separate channel. It only helps if that second channel is trustworthy: verifying a fingerprint against a value from the same compromised website proves nothing.
Is my data sent anywhere?
No. This tool runs as JavaScript inside your browser tab. There is no network request carrying your input, nothing is written to a server log, and it keeps working with your connection switched off. You can confirm it in the browser’s network panel. That matters more here than elsewhere on the site: developer tools handle tokens, keys and production data.
Does the Public Key Fingerprint Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Public Key Fingerprint Calculator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Public Key Fingerprint Calculator uploaded or stored?
No. The Public Key Fingerprint Calculator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Related tools
Other tools you might reach for next.
Generate an Ed25519 key pair in your browser and export it as PEM, with a SHA-256 fingerprint.
Format and indent JSON, with optional alphabetical key sorting and a precise syntax error when it will not parse.
Strip every byte of insignificant whitespace from JSON and report the saving.
Check that JSON is syntactically valid, report its structure, and flag duplicate keys that JSON.parse accepts silently.
Compare two JSON documents structurally, by path, distinguishing a type change from a value change.
Evaluate a JSONPath expression against a document and see every match with the path that produced it.
Escape text so it can be embedded as a JSON string value, handling control characters and astral code points.