Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text or files.
Large files are hashed in chunks with a progress bar, so nothing has to fit in memory at once.
Everything runs in your browser.
No upload · Checksum verification · Works offline
Type text, or switch to File mode to hash a file from your device.
Pick any combination of MD5, SHA-1, SHA-256 and SHA-512.
Hashing runs in your browser. Files are processed in chunks with progress.
Copy a hash, or paste an expected checksum to check it matches.
A hash calculator turns any input — a string of text or an entire file — into a fixed-length hexadecimal fingerprint. The same input always produces the same output, and changing a single byte produces a completely different result. That property is what makes hashes useful for checking that a file downloaded correctly, or that a document hasn't been altered.
This calculator runs entirely in your browser, so the text or file you hash is never transmitted anywhere. That matters when the input is a private document, an API key or a contract.
| Algorithm | Output | Collision resistance | Reasonable uses |
|---|---|---|---|
| MD5 | 128-bit (32 hex) | Broken | Non-adversarial checksums, deduplication, legacy systems |
| SHA-1 | 160-bit (40 hex) | Broken | Git object IDs, legacy compatibility |
| SHA-256 | 256-bit (64 hex) | Secure | File integrity, certificates, signatures, general use |
| SHA-512 | 512-bit (128 hex) | Secure | Same as SHA-256; often faster on 64-bit hardware |
"Broken" here means practical collision attacks exist — someone can construct two different inputs with the same hash. That matters when an attacker might try to substitute one file for another. It does not mean MD5 is useless for spotting accidental corruption in a download.
MD5, SHA-1, SHA-256 and SHA-512 are all designed to be fast, which is exactly what makes them the wrong tool for passwords: a modern GPU can try billions of guesses per second against a fast hash. Passwords should be stored with a deliberately slow, salted key derivation function — Argon2id, scrypt, bcrypt, or PBKDF2 with a high iteration count. This applies to SHA-512 just as much as to MD5; extra output length does not help.
This is the most common reason to reach for a hash calculator:
SHA256SUMS file.sha256sum line — the tool takes the hash from it. It will tell you which algorithm matched.A match means your copy is byte-for-byte identical to the one the publisher hashed. A mismatch means the download is corrupt, incomplete, or a different version — re-download before running it.
One caveat worth understanding: a checksum only proves your file matches what the publisher published. If an attacker can alter the download and the checksum on the same page, both will agree. That's why signed releases (GPG, code signing) exist for higher-stakes verification.