File hash generator (MD5, SHA-256)
Drop one or more files to get their checksums. Paste the hash from a download page to check that your copy matches.
Or hash a piece of text
What a checksum tells you
A hash function turns any file into a short fixed-length fingerprint. Change a single byte and the fingerprint changes completely. If the hash of your download equals the one the publisher lists, the file is byte-for-byte the same as theirs; a mismatch means a broken download or a different file.
MD5, SHA-1, SHA-256 and SHA-512
- MD5 (32 hex characters): fast and still common for spotting accidental corruption, but broken for security: two different files can be made with the same MD5.
- SHA-1 (40 characters): also no longer collision-resistant; keep it only for matching older checksums.
- SHA-256 (64 characters): the usual choice for verifying downloads today.
- SHA-512 (128 characters): same family as SHA-256 with a longer output.
MD5 and SHA-256 are computed in 4 MB chunks, so they work on files of any size. SHA-1 and SHA-512 use the browser's built-in crypto, which needs the whole file in memory, so they are limited to 512 MB.
The same check from the command line
- Windows:
certutil -hashfile file.zip SHA256or, in PowerShell,Get-FileHash file.zip - macOS:
shasum -a 256 file.zip - Linux:
sha256sum file.zip
All of them should print the same value this page shows. To test an upload or download pipeline end to end, create a file with the test file generator, hash it before upload and again after you download it back.
Questions
Are my files uploaded?
No. The page reads the file with your browser and computes the hash locally. You can disconnect from the internet after the page loads and it still works.
Why is my MD5 different from the website's?
Either the download is incomplete or altered, or the site lists a hash for a different file or version. Download it again and compare; check you are comparing the same algorithm.
Is MD5 safe for checking downloads?
It catches accidental corruption, but it cannot prove a file was not tampered with, because MD5 collisions can be created on purpose. Prefer SHA-256 when the publisher offers it.
Is the hash case-sensitive?
No. Hex hashes can be written in upper or lower case; the compare box ignores case and spaces.