Hash Generator (MD5, SHA-256…)

Get the checksum of a downloaded file to make sure it is genuine and complete, or hash a piece of text. All five common algorithms are calculated at once.

Files and text are hashed on your device. Nothing is uploaded — even multi-gigabyte files stay on your computer.

Text is hashed as UTF-8 bytes, exactly as typed (a trailing line break changes the hash).

Verify a checksum

How to check a file’s checksum

  1. Switch to File and choose the file you downloaded.
  2. Copy the checksum published on the official download page (often labeled SHA-256 or “checksum”) and paste it into Verify a checksum.
  3. The tool compares it with all calculated hashes and tells you whether it matches and which algorithm it is. A match means the file is byte-for-byte identical to the one the publisher hashed.

On the command line you'd get the same values with shasum -a 256 file (macOS), sha256sum file (Linux) or Get-FileHash file (Windows PowerShell).

Which hash algorithm should I use?

AlgorithmOutputStatus
MD5128 bits, 32 hex charsBroken for security — collisions can be made deliberately. Still fine to detect accidental corruption.
SHA-1160 bits, 40 hex charsBroken for security since 2017 (practical collisions). Used by older Git versions.
SHA-256256 bits, 64 hex charsSecure. The standard choice for file checksums, certificates and signatures.
SHA-384384 bits, 96 hex charsSecure. Used in some TLS and government settings.
SHA-512512 bits, 128 hex charsSecure; can be faster than SHA-256 on 64-bit CPUs.

SHA hashes are computed with your browser's built-in Web Crypto API. Browsers don't include MD5 because it's insecure, so MD5 is computed by our own implementation of the RFC 1321 algorithm, tested against the official test vectors.

Hashes are not encryption

A hash is a one-way fingerprint: the same input always gives the same output, and the smallest change produces a completely different hash. You can't “decrypt” a hash back into the original. That's what makes hashes good for verifying downloads and detecting changes.

Don't store passwords with plain MD5 or SHA-256. They are designed to be fast, which makes guessing passwords fast too. Password storage needs a slow, salted algorithm such as Argon2id, scrypt or bcrypt, provided by your framework.

Frequently asked questions

Is my file uploaded to calculate the hash?

No. The file is read by your browser and hashed on your device; that’s why hashing a large file only depends on your computer’s speed, not your internet connection.

Why is my hash different from the one on the website?

Either the file differs (incomplete or tampered download — download it again from the official source), or you are comparing different algorithms, for example SHA-1 vs SHA-256. For text, invisible differences such as a trailing line break or a different encoding change the hash.

Can a hash be reversed or decrypted?

No. Hash functions are one-way. Sites that claim to “decrypt” MD5 simply look up hashes of common words in a big table, which only works for short or common inputs.

Is there a file size limit?

The file is read into memory to be hashed, so the limit depends on your device. Files of several gigabytes usually work on desktop computers; phones have less memory.