Software download pages often list a long string of letters and digits next to each file, labelled SHA-256 or checksum. It is a fingerprint of the file. If your copy produces the same fingerprint, it is identical to the original, byte for byte. If one bit differs, because the download broke or someone tampered with it, the fingerprint is completely different.
Steps
- Open File checksum.
- Choose the file. It is read on your device and not uploaded, which matters for large installers and private documents alike.
- Pick the Algorithm that the download page uses. SHA-256 is selected to begin with. SHA-1, SHA-384 and SHA-512 are also available.
- Press Copy to copy the fingerprint, or download it as a small text file.
Comparing the two values
The tool shows the fingerprint but does not compare it for you. Check it against the published value yourself. Capital and small letters do not matter: the result here is in small letters, and A3F is the same as a3f. Do not stop after the first few characters. An easy method is to paste both values on separate lines into a text editor, or into Text diff, which marks any difference.
If the values differ, first make sure you chose the same algorithm. A SHA-256 value has 64 characters, SHA-1 has 40 and SHA-512 has 128. If the algorithm is right and the values still differ, download the file again and do not open it.
Limits
- No MD5. Some older sites publish only MD5 values. This tool does not compute them.
- Very large files: the whole file is loaded into memory, so a disc image of several gigabytes may fail on a device with little memory.
- What a match proves: that your file equals the one the fingerprint was made from. It says nothing about whether that file is safe.
For the fingerprint of a piece of text instead of a file, use Hash generator. When you send files to someone, you can pack them with Create ZIP and send the archive's fingerprint alongside.