← Codes you can try

Fingerprints for data

Type anything and see its fingerprint. Change one letter and watch the whole thing change.

Don’t type real passwords or private information. Nothing you type here is sent anywhere or kept.

The fingerprint tool

What would you like to see?

Don’t type real passwords or private information.

SHA-256 fingerprint

Try an example

I Same input

Same input, same fingerprint

Put the same text in and you get the same fingerprint out. It happens on every device, in every country, on every day. Nothing about who you are or when you ask changes the answer.

The fingerprint depends on every character, including capital letters, spaces and a full stop at the end. A space after the last word makes a different text, so it makes a different fingerprint.

A text of one letter and a text as long as a book both give 64 characters. Accented letters and emoji work too: the text is turned into bytes with UTF-8, and the fingerprint is made from those bytes.

II One-way

One-way

A fingerprint is easy to make from a text, and nobody knows a practical way to run it backwards. Nothing on this page turns the 64 characters back into the words.

What someone can do is guess. They can make the fingerprints of likely texts until one of them matches. That works when a text is short or easy to predict, so the fingerprint of a common word is not hidden at all: everyone gets the same one, and it is easy to look up.

Can two texts share a fingerprint?

In theory, yes. A SHA-256 fingerprint has 256 bits, so there are 2256 possible fingerprints, and there are more possible texts than that. Some different texts must therefore share a fingerprint. That is called a collision.

For SHA-256, as far as we know, nobody has found a collision, and nobody knows a practical way to find one. Finding one by luck would take about 2128 tries, which is far more than anyone can do. That is why a matching fingerprint is trusted as a sign that two texts are the same. “Nobody has found one” is not a proof that none can be found.

III Change

Tiny change, totally different result

Change one letter and the new fingerprint looks unrelated to the old one. Try “melkem” and “Melkem”, which differ by one capital letter: all 64 characters change. Try “hello” and “hello.”, which differ by a full stop: 60 of the 64 change.

Each character of a fingerprint is one of 16 (0 to 9 and a to f), so two unrelated fingerprints match by luck at any position about once in 16. Expect around 60 of the 64 characters to change, and sometimes a few more or fewer. A good fingerprint function is built to behave this way: a small change in the text flips about half of the 256 bits.

IV In use

Where you meet it

Checking that a download hasn’t been changed

Software makers often publish the fingerprint of a file next to the download link. After you download the file, make a fingerprint of the copy you received and compare the two. If every character matches, you have the file that was fingerprinted. Capital and small letters mean the same here, and some tools print the 64 characters in capitals. If even one character differs, the file is not the one that was fingerprinted: it may be damaged, changed or another version, or the published fingerprint may use a different method or have been copied wrongly.

Take the published fingerprint from the maker’s own website, not from the same mirror or server that gave you the file: someone who could swap the file could swap the fingerprint beside it. This page makes fingerprints of text, not files. On a computer, shasum -a 256 (macOS), sha256sum (Linux) and Get-FileHash (Windows PowerShell) make the SHA-256 fingerprint of a file. To match this page for a short text, leave off the line break that a terminal adds, for example with printf 'abc' | shasum -a 256.

Checking a password without keeping it

A website doesn’t need to keep your password to check it. It can keep a fingerprint made from your password, make a fingerprint from what you type next time, and compare the two. Then the site’s records don’t hold the passwords themselves.

A plain, fast fingerprint like the one on this page is not what well-run sites use for this. Fast is the wrong thing here: if someone steals the records, a fast fingerprint lets them try a very large number of guesses every second. Well-run sites use a slow method designed for passwords, such as Argon2id, scrypt, bcrypt or PBKDF2, and they add a random value called a salt to each password, so two people with the same password don’t end up with the same stored value.

NIST’s guidance for sites that store passwords says: “Passwords SHALL be salted and hashed using a suitable password hashing scheme.” OWASP’s guide says: “Fast hashing algorithms such as SHA-256 are not suitable for password storage because they allow attackers to perform large numbers of guesses quickly.” That is also why this page asks you not to type a real password into it.

V Source

Source

NIST, FIPS 180-4 (opens in a new tab), August 2015, is the standard that defines SHA-256 and the other SHA hash functions. Its abstract says: “This standard specifies hash algorithms that can be used to generate digests of messages. The digests are used to detect whether messages have been changed since the digests were generated.” NIST has said it will revise FIPS 180-4.

This page’s fingerprints match NIST’s published test values: NIST’s worked example for SHA-256 (opens in a new tab) gives ba7816bf 8f01cfea 414140de 5dae2223 b00361a3 96177a9c b410ff61 f20015ad for the text “abc”, and NIST’s SHA-256 test vectors give e3b0c442 98fc1c14 9afbf4c8 996fb924 27ae41e4 649b934c a495991b 7852b855 for an empty text. Type abc, or nothing, and compare.

For passwords: NIST Special Publication 800-63B, section 3.1.1.2 (“Password Verifiers”) (opens in a new tab), and the OWASP Password Storage Cheat Sheet (opens in a new tab). Checked 19 November 2026.