File Checksum Comparator
Check a file against its published MD5, SHA-1, SHA-256 or SHA-512 checksum, or test whether two files are identical. Hashed in your browser, not uploaded.
Still loading. If the tool doesn’t appear, reload this page.
Planned features and workflows
- AltF Camera Card Manifest
Coming soon
- AltF Archive Migration Comparison
Coming soon
About this tool
File Checksum Comparator
Compare a local file with its published MD5, SHA-1, SHA-256, SHA-384 or SHA-512 checksum, or check two files are identical, without uploading anything.
To compare a file checksum, pick the file and paste the hash its publisher lists: the tool calculates the same digest locally and says match or no match. The algorithm is detected from length — 32 hex characters is MD5, 40 SHA-1, 64 SHA-256, 128 SHA-512. You can also compare two files directly, or calculate all five hashes at once.
How to use File Checksum Comparator
Under "1. Choose the file", select any local file up to 512 MB — it is read and hashed inside this browser tab, not uploaded.
Under "2. Compare with…", paste the publisher's checksum (a bare hash, a sha256sum line or a BSD "SHA256 (file) = …" line all work), or switch to "A second file" and pick the other copy.
Press the button: you get "Checksums match" / "do not match" (or "identical" / "differ" for two files) plus every calculated digest with a Copy button. Leave the checksum empty to just calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512.
Why use File Checksum Comparator
Algorithm inferred from your paste
Leave the selector on auto and MD5, SHA-1, SHA-256, SHA-384 or SHA-512 is chosen by the checksum's length, so you cannot accidentally compare a SHA-512 value against a SHA-256 digest.
Tolerant of how checksums are published
Labels like "SHA256:", sha256sum lines with a file name after the hash, BSD "SHA256 (file) = …" lines, stray whitespace and uppercase hex are all handled, so you can paste a line straight off a release page.
Whole-digest comparison
The calculated and expected digests are normalised to lowercase hex and compared over every character, so a value that differs only in its last digit is still reported as a mismatch.
Common use cases
- You downloaded a Linux ISO over a mirror you had never heard of and the project's page lists a SHA-256 line, so you hash the local file and confirm the two strings match before writing it to a USB stick.
- A vendor sent a firmware update as an email attachment plus a checksum in a separate message, and you want to know the attachment was not altered or truncated in transit before you flash a device.
- A large archive downloaded twice on a flaky connection and the two copies differ in size by a few kilobytes, so you hash both against the published digest to see which one completed cleanly.
Frequently asked questions
How long should a SHA-256 checksum be?
64 hexadecimal characters. MD5 is 32, SHA-1 is 40, SHA-384 is 96 and SHA-512 is 128. The tool uses that length to pick the algorithm, and rejects a value whose length does not match the selected algorithm or that contains non-hex characters.
Link to answerHow do I check if two files are identical?
Choose the first file, switch "Compare with…" to "A second file", pick the other one and press Compare. Both are hashed with SHA-256 (or the algorithm you select); equal digests mean the files are byte-for-byte the same, and different digests mean at least one byte differs, even if the names and sizes match.
Link to answerCan I check an MD5 or SHA-1 checksum?
Yes. Paste the 32-character MD5 or 40-character SHA-1 value and it is detected automatically. Both are fine for catching a corrupted or incomplete download, but they are broken against deliberate collisions, so when a publisher also lists SHA-256, check that one.
Link to answerIs my file uploaded anywhere to be hashed?
No. The file is read into memory in your own browser: the SHA digests come from the browser's crypto.subtle.digest and MD5 is computed by JavaScript on the page, so nothing about the file leaves the machine — which is why you can safely verify confidential builds and licensed installers here.
Link to answerHow large a file can I check?
Up to 512 MB. The whole file is loaded into memory to be hashed, so very large images may be slow or may fail on a low-memory device even under that limit.
Link to answerWhat should I do if the checksum does not match?
Do not open or run the file. A mismatch means the bytes you have differ from the bytes the publisher hashed, most often from an incomplete or corrupted download — re-download from the official source and check again; if it still fails, treat the file as untrusted and report it to the publisher.
Link to answer