File Hash Checker: SHA-256, SHA-1 and MD5
Drop a file, get its fingerprint, and compare it with the hash the download page gave you. A big Match or Does NOT match tells you at a glance.
- Private: nothing uploaded
- Free
- No sign-up
Runs in your browser. Your files never leave your device.
Upper or lower case, with or without spaces. Both are fine.
MD5 and SHA-1 are fine for spotting a damaged download. They are not safe for security, because two different files can be made to give the same MD5 or SHA-1 hash. Use SHA-256 or SHA-512 when the hash is meant to prove that a file is genuine.
How to use it
Drop the file you downloaded into the box. Any file type is fine, up to 4 GB.
Leave SHA-256 selected, or pick SHA-1, SHA-512 or MD5 if the page gave you one of those.
Wait for the progress bar to finish. Large files are read in 8 MB slices, so memory stays low.
Paste the hash you were given into the box and read the answer. Case and spaces do not matter.
About this tool
A hash is a short fingerprint of a file. Change one byte anywhere in a 2 GB download and the fingerprint changes completely, which is why software pages publish one next to the download link. This page computes the fingerprint in your browser tab and compares it with the one you paste. Your files never leave your device, and a 4 GB file is read in slices so the tab does not run out of memory.
What a file hash is
A hash function reads every byte of a file and mixes them into a fixed length result. SHA-256 gives 64 hexadecimal characters, SHA-1 gives 40, MD5 gives 32 and SHA-512 gives 128. The result cannot be turned back into the file, and there is no shortcut around reading the whole thing. Two different files are meant to give two different results, and for a good hash function finding two files that share a result is not something a normal computer can do.
Why the same file always gives the same hash
The calculation is deterministic, so a file that was copied from one disk to another without damage gives exactly the same fingerprint on a Windows laptop, a Mac and a phone. That is what makes the check useful: the publisher hashes the file once, you hash your copy, and a match means the bytes are identical. The file name and the date on disk play no part, so renaming a download is harmless.
When a mismatch is serious
A mismatch means the file you have is not the file the hash belongs to. The usual cause is damage during download: a connection that dropped, a proxy that changed the bytes, or a disk that is failing. Download it again from the same place and compare once more. If it still does not match, do not open it. Something changed the file after the hash was made, and that is the situation the check exists to catch.
MD5 and SHA-1 today
MD5 and SHA-1 are fine for spotting a damaged download, and many older download pages still publish them. They are not safe for security. Researchers can build two different files that produce the same MD5 or SHA-1 value, which means a clever attacker could replace a file and keep the published hash looking correct. When the hash is meant to prove that a file is genuine, use SHA-256 or SHA-512.
Big files, phones and patience
A 4 GB file has to be read from start to end, so the time depends on the disk as much as on the processor. The work runs in a background worker, which keeps the page usable while it reads, and the Cancel button stops it without changing anything. On a phone, a very large file can still be slow, and it is better to plug the phone in than to start a 4 GB check at 5 percent battery.