Check a download against its published SHA-256 or MD5 checksum, verify a whole SHA256SUMS file, compare two files or find duplicates, all in your browser.
Initializing in your browser…
Hash text or files with MD5, SHA-1, SHA-256 or SHA-512 as you type, create HMAC signatures, and check a download against its published digest.
Generate colour palettes from one base colour, with tints and shades, contrast and colour-blindness checks, and CSS, Tailwind or JSON export.
Decode a JSON Web Token instantly, check its expiry and claims, and verify the signature with a secret, PEM key or JWKS, all in your browser.
A download page lists the SHA-256 of fox.txt, and you want to confirm that the copy you saved is the same file.
Expected checksum, pasted as published
d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592 fox.txt
Verdict
Match on SHA-256 32 bytes of hex, for fox.txt. That length matches SHA-256 or SHA-512/256. fox.txt, 43 bytes SHA-256 d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592 SHA-512/256 dd9d67b371519c339ed8dbd25af90e976a1eeefd4ad3d889005e532fc5bef04d
Sixty-four hex characters are 32 bytes, and two algorithms produce a digest of that size, so both are computed and the verdict names the one that agrees. The file holds the 43 characters of "The quick brown fox jumps over the lazy dog" with no line break at the end. Saved with a final newline, as many editors do, it becomes 44 bytes and its SHA-256 becomes c03905fc...be26a69, with nothing in common with the published value. That is why a text file re-saved on another computer is a common cause of a false alarm. Try a sample file in Verify mode loads exactly this case.
Check that a file you downloaded is exactly the file its publisher released by comparing it with the SHA-256, SHA-1 or MD5 checksum they posted, or check a whole SHA256SUMS list in one go. You can also hash a file, compare two files, or find duplicates in a set, and every file is read on your own device without being uploaded.
The tool has four modes. Calculate hashes one file with every algorithm you tick: MD5, SHA-1, SHA-256 and SHA-512 are on the first row, and SHA-384, CRC-32, CRC-32C and Adler-32 are under More options. Verify checks a file against what a publisher posted. Compare says whether two files are identical byte for byte. Batch hashes a whole set, groups files that share a digest so duplicates stand out, and exports the list in the same format the sha256sum command writes, so it can be checked again later on any Linux or macOS machine.
In Verify you can paste the expected checksum exactly as you found it: hex in upper or lower case, with or without spaces or colons, base64, a line from a checksum file (the digest, two spaces, then the file name), or the BSD form SHA256 (name) = digest that macOS prints. You do not have to pick the algorithm first. The length of the digest tells the tool which algorithms could have produced it, it computes those, and the verdict names the one that matched. For a release with many files, load the checksum file itself and then add the files. Each line is marked OK, FAILED or file not provided, and any file you added that the list does not mention is named as well.
What a match proves depends on the algorithm. Any of them shows that the file was not damaged in transit or on disk. Only a collision-resistant one, which today means SHA-256 or another member of the SHA-2 family, also shows that nobody swapped in a different file on purpose, and only when you took the expected checksum from a source an attacker could not change, such as the project's own HTTPS site rather than the mirror that served the download. MD5 and SHA-1 can be made to collide, and CRC-32, CRC-32C and Adler-32 are simple error checks that are easy to forge. Each digest carries a short label saying which kind it is.
Files never leave your device. MD5 and the CRC checks read a file a few megabytes at a time, so they work at any size. The SHA algorithms use the browser's built-in implementation, which needs the whole file in memory, so up to 1 GB the tool does exactly that and above it switches to a slower streaming implementation; a multi-gigabyte disk image can still be checked. A progress bar shows each file's progress, and Cancel stops the work immediately.
When Verify reports a mismatch, the usual causes are an incomplete download, a checksum copied from a different release or a different file in the list, or a text file whose line endings changed when it was saved on another system. Genuine tampering is rarer, but it is the reason the check exists. The tool shows the digest it computed under the verdict so you can compare the two yourself.
Open the project's download page over HTTPS, copy the SHA-256 line for your file, paste it into Verify and drop in the download. A green Match on SHA-256 means you have the file they released.
Load the SHA256SUMS file that ships with a release, add the files you downloaded, and see at a glance which lines matched, which failed and which files you have not downloaded.
Compare the original and the copy from an external drive or a cloud folder. Identical digests mean identical contents, whatever the dates and file names say.
Select or drop a set of photos or documents in Batch. Files with the same contents are grouped together even when their names differ.
For checking a download, whichever one the publisher used, and you can simply paste their checksum and let the tool work it out. When you choose for yourself, use SHA-256. MD5 and SHA-1 still catch accidental corruption but can be forged, and the CRC checks are only meant for transmission errors.
Most often the download stopped early or was corrupted, or the checksum belongs to a different version or a different file in the same list. Text files can also change when an editor or a transfer converts line endings. Download the file again from the official site and check once more before assuming anything worse.
Yes. MD5 and the CRC checks stream the file in small pieces at any size. The SHA algorithms are fastest with the file in memory, so the tool does that up to 1 GB and streams beyond it, which is slower but works for files of many gigabytes.
Hex in either case, hex split by spaces or colons, base64, a GNU checksum line such as the ones in SHA256SUMS (digest, two spaces, file name), and the BSD form SHA256 (file name) = digest. Extra spaces and line breaks around it do not matter.
Yes. In Verify, press Load a checksum file and choose the SHA256SUMS, .sha256 or .md5 file, then add the files it lists. Every line is checked and reported, and the algorithm is taken from the file.
No. Files are read and hashed inside your browser. Nothing is sent over the network, which also means a large file takes as long as your own computer needs.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.