Hash a word
hello
MD5: 5d41402abc4b2a76b9719d911017c592 SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Every algorithm gives a different, fixed-length fingerprint of the same input.
Hash text or files with up to 14 algorithms at once, from MD5 and SHA-256 to SHA-3, Keccak-256, BLAKE3 and CRC32. Paste an expected checksum to verify a download in one step.
hello
MD5: 5d41402abc4b2a76b9719d911017c592 SHA-256: 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
Every algorithm gives a different, fixed-length fingerprint of the same input.
Hello
MD5: 8b1a9953c4611296a827abf8c47804d7
Only the first letter changed (h → H), yet the hash is completely different. This is the "avalanche effect".
The quick brown fox jumps over the lazy dog
✓ Matches SHA-256
The expected value is pasted into Compare; the SHA-256 row turns green.
A hash function turns any input, from one word to a whole file, into a short fixed-length fingerprint. The same input always gives the same hash, the smallest change gives a completely different one, and there is no way to turn the hash back into the input. That makes hashes ideal for checking that data has not changed: if two files have the same SHA-256 hash, they are identical.
Hashing is not encryption. Encryption is reversible with a key; a hash is a one-way fingerprint with no key at all.
| Algorithm | Output | Status | Typical use |
|---|---|---|---|
| MD5 | 128 bits, 32 hex | Broken for security | Non-security checksums, cache keys, ETags |
| SHA-1 | 160 bits, 40 hex | Broken (collisions since 2017) | Legacy systems, older Git repositories |
| SHA-224 / SHA-384 | 224 / 384 bits | Secure | Truncated SHA-2 variants for specific protocols |
| SHA-256 | 256 bits, 64 hex | Secure | File checksums, certificates, Bitcoin, signatures |
| SHA-512 | 512 bits, 128 hex | Secure | Signatures, fast on 64-bit CPUs |
| SHA3-256 / SHA3-512 | 256 / 512 bits | Secure | Modern alternative to SHA-2, different design |
| Keccak-256 | 256 bits | Secure | Ethereum addresses and smart contracts |
| RIPEMD-160 | 160 bits | Legacy | Bitcoin addresses (after SHA-256) |
| BLAKE2b / BLAKE2s | 512 / 256 bits | Secure | Fast hashing in software, libsodium, Argon2 |
| BLAKE3 | 256 bits | Secure | Very fast file hashing |
| CRC32 | 32 bits, 8 hex | Not a security hash | Error detection in ZIP, gzip, PNG, Ethernet |
For anything security-related, choose SHA-256 or newer. MD5 and SHA-1 are still fine for spotting accidental corruption, but anyone can create two different files with the same MD5 or SHA-1 hash.
Keccak won the SHA-3 competition in 2012, but the final SHA-3 standard (FIPS 202, 2015) changed the padding. Ethereum had already adopted the original version, so Keccak-256 and SHA3-256 give different results for the same input. Use Keccak-256 for anything Ethereum, and SHA3-256 everywhere else.
The same check on the command line:
# Linuxsha256sum ubuntu.iso # macOSshasum -a 256 ubuntu.iso # Windows PowerShellGet-FileHash .\ubuntu.iso -Algorithm SHA256Do not store passwords with these hashes. MD5, SHA-1 and even SHA-256 are designed to be fast, so attackers can try billions of guesses per second. Passwords need a slow, salted password hash such as bcrypt or Argon2.
async function sha256(text) { const bytes = new TextEncoder().encode(text); const hash = await crypto.subtle.digest('SHA-256', bytes); return [...new Uint8Array(hash)].map((b) => b.toString(16).padStart(2, '0')).join('');}import { createHash } from 'node:crypto'; createHash('sha256').update('hello').digest('hex');createHash('md5').update('hello').digest('hex');hash('sha256', 'hello');hash('sha3-256', 'hello');hash_file('sha256', 'download.zip'); // hash a fileimport hashlib hashlib.sha256(b'hello').hexdigest()hashlib.sha3_256(b'hello').hexdigest()hashlib.blake2b(b'hello').hexdigest()My hash is different from the one another tool gives
The input is not exactly the same. Look for a trailing newline (echo adds one: use echo -n), spaces, or a different text encoding. This tool hashes exactly what is in the box, as UTF-8.
The checksum does not match my download
Check that you compare the same algorithm (a 64-character value is usually SHA-256). If it still does not match, download the file again: it may be incomplete or corrupted.
SHA3-256 does not match an Ethereum hash
Ethereum uses Keccak-256, the pre-standard version of SHA-3. Select Keccak-256 instead.
Uppercase vs lowercase hashes
Hex hashes are not case-sensitive: 5D41… and 5d41… are the same. The compare box ignores case. Tick Uppercase for capital letters.
No. Hash functions are one-way: they throw information away, so the input cannot be calculated from the hash. "Decrypting" sites only look up hashes of common words they have stored before.
SHA-256 is the standard choice and what most download pages publish. BLAKE3 is much faster for very large files. MD5 still detects accidental corruption but not deliberate tampering.
Good hash functions have the avalanche effect: changing one bit of the input changes about half of the output bits, so similar inputs give unrelated-looking hashes.
Yes. Files are read and hashed inside your browser and are never uploaded. You can confirm it in the Network tab of your browser's developer tools.
Up to 1 GB. The file is read in 4 MB pieces with a progress bar, so the page stays responsive.
Free, private developer tools that run in your browser. No signup, nothing uploaded, no waiting.
Tip: press Ctrl D to bookmark dev247.