File Hash Checker
Calculate any file's hash and verify its integrity instantly. 100% in your browser.
Drag any file here or click to select
No artificial size limit
Built by
Miguel Ángel Colorado Marin (MACM)
Built by
Miguel Ángel Colorado Marin (MACM)
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
The file hash checker calculates the cryptographic fingerprint of any file with SHA-1, SHA-256, SHA-384 or SHA-512. It helps you confirm that a download was not corrupted, verify a backup, or check a file against the hash its source publishes, which is common for software, ISO images and GitHub releases. Choose the file, choose the algorithm, and the hash appears when reading finishes. Paste the published hash into the comparison field and you'll see at once whether it matches.
Features
- ✓SHA-1, SHA-256, SHA-384 and SHA-512
- ✓Automatic comparison with a known hash
- ✓Visual match indicator
- ✓Any file type, no fixed size limit
- ✓100% in browser, the file is never uploaded
How to verify a file's integrity?
- 1
Upload the file
Drag the file or click to select it, any type.
- 2
Choose the algorithm
SHA-1, SHA-256, SHA-384 or SHA-512, matching what the source gave you.
- 3
Paste the known hash to compare
The indicator turns green if it matches, red if not.
How the hash is calculated
The file is read in 8 MB chunks with File.slice(), and each chunk feeds an incremental hash calculation, so a file of several gigabytes is never loaded into memory in full. Up to 32 MB the hash is computed with crypto.subtle.digest, the browser's Web Crypto API; above that, the tool computes it in JavaScript and a progress bar shows the advance. The digest is shown as lowercase hexadecimal.
The available algorithms are SHA-1 (40 hexadecimal characters), SHA-256 (64), SHA-384 (96) and SHA-512 (128). MD5 is not offered because the Web Crypto API does not implement it, and SHA-3 is not offered either. When you switch algorithm, the file is read again from your disk and the hash is recalculated, without selecting the file again.
SHA-1 and MD5 have known collisions, meaning someone can build a different file with the same hash. To check a download against someone who may tamper with it, use SHA-256 or stronger; SHA-1 is still enough to catch accidental corruption.
Comparing with a published hash
The comparison field accepts the hash exactly as the source shows it. It ignores spaces and line breaks at the start and end, accepts a hash split into blocks separated by spaces, and recognises the usual checksum file lines: «hash name.iso» (sha256sum), «hash *name.iso» (binary mode), «SHA256 (name.iso) = hash» (BSD) and «SHA256: hash». The comparison is not case-sensitive. If the field is empty no result appears, and the red warning appears as soon as a single character differs.
A match only proves something if the hash arrives through a channel other than the download itself. If the same site hosts both the file and its hash and that site is compromised, both can be changed together.
Common cases and one important detail
Downloading an ISO image: many distributions publish a SHA-256 hash next to the download. Select SHA-256, paste the value and check that the indicator turns green before you write the media.
Backups: calculate the hash of the original and of the copy with the same algorithm. If both match, the copy is identical byte for byte. Since the tool works with one file at a time, you compare the two results yourself.
One important detail: the hash changes with any byte. A text file opened and saved again can get a different hash even if it looks the same, for example when the editor changes line endings from LF to CRLF or adds a byte order mark at the start.
Frequently asked questions
Is my file uploaded to a server?
No, never. The hash is computed directly in your browser, the file never leaves your device.
Why doesn't it include MD5?
The browser's Web Crypto API doesn't implement MD5 since it's an obsolete algorithm insecure for cryptographic purposes, which is why this tool only offers the SHA family.
What's comparing hashes for?
To confirm a downloaded file is exactly what its source published, with no corruption during the download. Against tampering it only helps if the hash arrives through a channel separate from the download.
Is there a size limit?
There is no fixed limit in the code. The file is read in 8 MB chunks, so it is not loaded into memory in full; with files of several gigabytes the calculation takes longer and a progress bar shows the advance.
Related tools
Embed File Hash Checker on your site
Add File Hash Checker to any web page with a simple iframe. Free, with attribution to miguelacm.es.
<iframe
src="https://miguelacm.es/embed/file-hash-checker?locale=en"
width="100%"
height="700"
frameborder="0"
allow="clipboard-write"
title="File Hash Checker — miguelacm.es"
></iframe>View embed in new tab →