File Hash Checker: Verify SHA-256 and MD5 Checksums

Drop a file to calculate its MD5, SHA-1, SHA-256 and SHA-512 checksums, then paste the checksum from the publisher to see whether they match. Hashing runs on your device and the file is not uploaded.

Tap or drop any file here

How to check a file hash

  1. Get the official checksum from the software publisher's website. Note which algorithm it uses, for example SHA-256.
  2. Tap the box above and choose the file you downloaded, or drop it there.
  3. Paste the published checksum into the comparison box.
  4. A green match means the file's hash is identical. A red result means it is not, and you should download the file again from the official source.

MD5, SHA-1, SHA-256 and SHA-512 compared

AlgorithmHex lengthUse today
MD532 charactersCatching corrupted downloads only
SHA-140 charactersLegacy checks, not for security
SHA-25664 charactersThe standard choice for downloads
SHA-512128 charactersStrong; less commonly published

This page calculates all four in one pass and compares your pasted value against each of them, ignoring upper or lower case.

How to get a file's SHA-256 on Windows, macOS and Linux

You can also check from a terminal. On Windows PowerShell: Get-FileHash .\file.iso -Algorithm SHA256. On Windows Command Prompt: certutil -hashfile file.iso SHA256. On macOS: shasum -a 256 file.iso. On Linux: sha256sum file.iso. Terminal commands are the better choice for very large files.

A matching hash does not prove a file is safe

A match proves only that your file is identical to whatever the checksum describes. If the checksum itself came from a compromised or fake page, a match means nothing. Always take the checksum from the publisher's official site over HTTPS, and download from the official source.

Large files and memory

The file is read into your browser's memory so it can be hashed. Multi-gigabyte files, such as full operating-system images, may exceed what a phone or low-memory computer can handle; use the terminal commands above for those.

Frequently asked questions

How do I check the SHA-256 of an ISO or installer file?

Drop the file on this page, then compare the SHA-256 line with the value on the publisher's download page, or paste the published value into the comparison box.

Why does my hash not match?

Typical reasons are an incomplete or corrupted download, a different version or edition than the checksum was published for, comparing a different algorithm, or extra characters in the pasted value.

Is SHA-256 better than MD5?

Yes for security. MD5 and SHA-1 have known collision weaknesses, so use SHA-256 or stronger whenever the publisher offers it.

Is my file uploaded to calculate the hash?

No. The calculation uses your browser's built-in cryptography and a small script on this page. The file stays on your device.

Can I hash text with this tool?

No. This page hashes files. To hash text, save it as a file first.

More free tools

Checking operating system downloads

When downloading an operating system image, use a checksum published by the software provider whenever one is available, and compare it with the file you downloaded. For background and related resources, see GramFile’s operating systems section. Always verify that the checksum belongs to the exact edition and version of your download.