Skip to main content

File Integrity Checker

Software downloads, datasets, and documents often ship with a published hash — a fingerprint of the exact bytes. Hash the file you received and compare: if the fingerprints match, the file arrived intact; if not, it was altered or corrupted somewhere along the way.

Your files never leave this device. Drop a file above (or choose one) and it is hashed right here in your browser with SHA-256, SHA-384, or SHA-512. Paste the published hash for a MATCH/MISMATCH verdict, or leave it empty to just read the file's own hash.

Paste the published hash to compare — spaces and colons are fine

Embed this calculator on your website →

The formula

verdict = (hash of your file) equals (published hash)?

  • the hash — a one-way fingerprint: even a single changed byte produces a completely different hash, while identical bytes always produce the identical hash.
  • the comparison — the pasted hash is normalized (casing, spaces, and colon separators are ignored) and must be the right length for the chosen algorithm — 64 hex characters for SHA-256, 96 for SHA-384, 128 for SHA-512.
  • client-side, always — hashing runs in your browser via Web Crypto. No file content is uploaded, sent, or logged; there is no server step to trust.

Worked example: a three-byte file containing abc hashes to ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad under SHA-256 — paste that as the expected hash and the verdict reads MATCH.

How it works

Why a hash beats a file size. Two different files can share a size; they cannot practically share a SHA-256 hash. Size tells you the download finished; the hash tells you it finished unaltered. That is why publishers print hashes next to their download buttons.

Which algorithm to pick. Match the one the publisher used — the hash is only comparable within the same algorithm. When several are published, any of them verifies integrity; SHA-512 is the strongest of the three offered here, SHA-256 the most commonly published.

What a mismatch means. A mismatch never means "close enough" — hashes have no near-misses. Re-download from the official source; if it still mismatches, the published hash or the file itself is wrong, and you should not run or trust that file.

Examples

  • An installer whose download page lists a SHA-256 hash → paste the hash, drop the installer, read MATCH before running it.
  • A colon-separated fingerprint (like certificate fingerprints) → paste it as-is; the separators are ignored.
  • No published hash? Leave the field empty — the tool still shows the file's hash, which you can compare by eye against the publisher's page.

Frequently asked questions

Is my file really not uploaded?

Correct. The file is read by your browser and hashed by your device's Web Crypto — the same cryptography browsers use for HTTPS. Nothing is sent to any server; you can verify this by watching your network tab or going offline after the page loads.

What does a MATCH actually prove?

That the bytes you have are exactly the bytes the publisher hashed. It does not prove the publisher is trustworthy — a malicious publisher's hash matches their malicious file. Integrity (unchanged in transit) is proven; authenticity (from the right source) still depends on where you downloaded from.

Why was my hash rejected as the wrong length?

Each algorithm has a fixed hash length: 64 hex characters for SHA-256, 96 for SHA-384, 128 for SHA-512. A shorter or longer paste is either truncated, has extra characters, or belongs to a different algorithm — the tool refuses to compare rather than report a misleading mismatch.

Can I check a hash of text instead of a file?

That is the Hash Generator's job — it hashes typed or pasted text with the same algorithms. This page is for files on your device.