Skip to content

STEMSTUDIO

Check a file is the real one

Files · computed on this device

Check a file is the real one

Drop a file and its hash is computed straight away. Paste the published value to see whether it matches.

  • Free, no account
  • Files are not uploaded

Help

Case, surrounding whitespace, separating colons and a trailing filename are all ignored. The algorithm is identified by length (8 = CRC32, 32 = MD5, 40 = SHA-1, 64 = SHA-256, 96 = SHA-384, 128 = SHA-512). MD5 and SHA-1 have demonstrated collisions: two different files can be made to produce the same value. They still work for "is this the same file the publisher shipped", but they cannot detect deliberate tampering. If the choice is yours, use SHA-256. CRC32 is an error-detecting checksum, not a hash — it is the same value ZIP files carry internally. It catches accidental corruption in transit and nothing more. Browsers normalise every line break in a text box to LF, so this will not match a file saved with CRLF line endings. To check a file, switch to the file mode above.

Processing, communication and stored data

Compute SHA-256, SHA-512, SHA-384, SHA-1, MD5 and CRC32 for files or text, and compare the result against a published value. Everything runs in your browser — nothing is uploaded.

Questions

Is my file uploaded?

No. Reading and hashing both happen in the browser. Nothing remains once the tab is closed.

How large a file can it handle?

SHA algorithms require the whole file in memory through the browser's hashing API; files above roughly 500MB may fail on some devices. MD5/CRC32-only jobs read 2MB slices. Calculations stay on your device and normally run in a worker separate from the interface.

The value does not match the publisher, but it should

A single differing byte changes everything, so check first that the pasted value is complete. Also hash the file exactly as downloaded — opening and re-saving it in an editor can change line endings or text encoding, and that changes the hash.

Can I use this to store passwords?

No. SHA-256 and similar hashes are designed to be fast, which is the wrong property for stored passwords. Use a purpose-built scheme with a salt and a tunable cost, such as bcrypt, scrypt or Argon2.

Why do the text box and the file give different values?

Browsers normalise every line break in a text box to LF. A file saved with CRLF line endings is genuinely different data, so it hashes differently. Use the file mode to check a file.

How should I verify a download?

Note the value from the publisher, hash the downloaded file here, and compare the two. ⚠️ Because the value and the file come from the same place, an attacker who controls that place can replace both. Verification protects against corruption in transit and against a copy from somewhere else — not against the publisher being compromised.

Is comparing the first and last few characters enough?

For catching accidental corruption, yes. Against deliberate tampering, no: an attacker can aim for a value whose visible ends match. When tampering is the threat, compare every digit — copy the value from here and diff it as text.

Can it hash a whole folder?

No. A hash maps one byte sequence to one value, and there is no agreed way to fold several files into one. To check a folder, archive it first and hash the archive — bearing in mind that archives embed timestamps, so rebuilding one from identical contents produces a different value.

Ratings from users

Ratings appear once there are 10.

Report a problem or suggest something

The tool name, this page’s path and your browser type are sent with it. Files are never sent. For a reply, use the email on the Contact page.