You downloaded the installer, the archive, the disk image. Next to the download link, the publisher's page shows a long string of characters labelled checksum, MD5 or SHA-256, and most people scroll straight past it. That string is the publisher saying: here is the fingerprint of the exact file we released. If the file on your disk produces the same fingerprint, you hold the same file. If it produces anything else, you do not, whatever its name claims.

This guide walks through the matching itself: where the published checksum lives, how to compute the fingerprint of your download with the free File Hash and Info Report on Ovatly, and what to do when the two strings refuse to agree.

Contents

  • Quick answer
  • Where the published checksum lives
  • What the report shows you
  • How to verify a download against its published checksum, step by step
  • Worked example: practise on the abc test vectors
  • When the strings do not match
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Copy the checksum from the publisher's download page or release notes. Open the File Hash and Info Report, choose your downloaded file, and compare the reported MD5 or SHA-256 against the published string, character by character. An exact match means your file is byte for byte the released file. Any difference means it is not, and you should delete it and download again from the publisher's own site. Prefer SHA-256 when both are published.

Where the published checksum lives

Publishers place the checksum in a few predictable spots: beside the download link on the download page, in a separate checksums file released with the download, or in the release notes for the version you took. Some publishers list MD5, some SHA-256, many list both.

One rule matters here: take the string from the publisher's own page. A checksum copied from the same mirror that served a questionable file proves nothing, because a tampered file can travel with a tampered checksum. The fingerprint and the file should arrive by different routes whenever you can manage it, so that altering one does not quietly alter the other.

What the report shows you

Choose any file and the report lists its name, size, type, extension and last-modified date, together with two hashes computed from its actual bytes: MD5 and SHA-256. Nothing is uploaded; your browser reads the file on your device and does the maths locally.

Two honest notes. The type field shows the type your browser reports for the file, which usually comes from its extension rather than from inspecting its contents, so a renamed file is described the way its name suggests. The hashes carry no such weakness, because they are computed from the bytes themselves. And when the file is readable text, such as text, Markdown, JSON or code, up to 512 KB, the report also shows a preview of its contents. Binary files get fingerprints only.

How to verify a download against its published checksum, step by step

  1. Copy the published checksum from the publisher's download page, checksums file or release notes, exactly as printed.
  2. Open the File Hash and Info Report and choose the downloaded file with the file box. The file stays on your device.
  3. Let the computation finish. MD5 is read in 4 MB slices with a progress bar, so even a large file shows steady progress.
  4. Find the line for the same algorithm the publisher used, SHA-256 if they offered it, and compare the two strings in full, ideally pasted side by side in a text editor.
  5. Exact match: the download is verified as the released file. Any difference at all: treat the file as unverified and follow the mismatch steps below.

Worked example: practise on the abc test vectors

Before trusting the comparison on a real download, practise it on values the whole field agrees on. Create a text file containing exactly the three characters abc, with no newline at the end, and run it through the tool. It reports a size of 3 bytes and these fingerprints:

MD5:     900150983cd24fb0d6963f7d28e17f72
SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad

Those are the standard published test vectors for the input abc. Comparing your result against them, character by character, is the same motion you will use on a real publisher's checksum, just with known-good strings. If your file produces different values, the usual cause is a hidden newline your editor added, which demonstrates the principle neatly: one extra byte, a completely different hash.

When the strings do not match

A mismatch is a stop sign, not a puzzle to argue with. Do not run the installer, do not open the archive's contents, and do not assume the difference is a rounding error, because hashes have no rounding: the file is different.

Delete the download and fetch it again from the publisher's own site, then check the fresh copy. Most mismatches turn out to be interrupted or corrupted downloads, and the second copy matches. If a fresh download from the publisher still mismatches, the fault sits at the source, a stale mirror or a page that was never updated, and the right move is to wait or tell the publisher, not to use the file anyway.

Limitations and honest tradeoffs

Very large files take patience. MD5 is read in 4 MB slices with a progress bar, but SHA-256 reads the file as one block, so a file of hundreds of megabytes can take a while and use noticeable memory while it works. That is the cost of keeping everything local instead of uploading the file to a server for checking.

The check also proves less than people sometimes assume. A matching checksum proves your copy is identical to the copy that was hashed; it does not prove the publisher is honest, the software is well written, or the file was clean from the start. Verification answers one question, did the file survive the journey unchanged, and answers it completely. The trust decision about the source remains yours.

Common mistakes

  • Comparing only part of the string. The first ten characters matching means nothing. Compare the full length, every character.
  • Copying the checksum from an untrusted mirror. If the file and its fingerprint come from the same questionable place, the check can be fooled as a pair. Get the string from the publisher's own page.
  • Verifying against MD5 when SHA-256 is listed. MD5 collisions are practical. If the publisher gives you the stronger fingerprint, use it.
  • Running the file first and verifying later. Verification only protects you if it happens before the file gets a chance to run. Check first, install second.
  • Treating a match as a safety certificate. It proves the copy is unchanged, not that the original was good. Where the file came from still matters.

FAQs

Where do publishers put the checksum I should compare against? Usually on the download page itself, next to the file link, or in a checksums file released alongside the download, or in the release notes. Take it from the publisher's own page, not from a mirror or a forum post, because the check is only as trustworthy as the source of the string.

Is my downloaded file uploaded when I check it? No. Your browser reads the file locally and computes both hashes on this device. Nothing leaves your machine, which is what you want when the file being checked is one you do not fully trust yet.

What should I do if the checksum does not match? Do not run or install the file. Delete it, download it again from the publisher's own site, and check the fresh copy. If the mismatch persists, the problem sits with the source, and the file should not be used until the publisher sorts it out.

Which checksum should I compare, MD5 or SHA-256? SHA-256 whenever the publisher offers it. MD5 collisions are practical to construct, so an MD5 match rules out accidents but not a determined substitution. SHA-256 has no such practical weakness and is the stronger fingerprint.

Does a matching checksum prove the file is safe? It proves the bytes on your disk are identical to the bytes the publisher hashed, nothing more. It confirms the download was not altered or corrupted on the way. Whether the publisher itself is trustworthy is a separate judgement.

Conclusion

Matching a download to its published checksum is a two-minute habit with a binary answer: the strings agree, or the file is not what it claims to be. The File Hash and Info Report computes both fingerprints in your browser and uploads nothing, so the file you trust least never leaves your machine while you check it. If you are wondering why two checksums exist at all and which deserves your confidence, our comparison of MD5 vs SHA-256 file hashes goes deeper. For more guides in this series, see our File and Data Conversion guides.

References