Generate MD5 and SHA hashes online
A cryptographic hash function turns any input — a word, a document, a 4 GB disk image — into a short, fixed-length fingerprint. Change a single bit of the input and the fingerprint changes completely. This hash generator computes the five most common fingerprints at once: MD5, SHA-1, SHA-256, SHA-384 and SHA-512. It works on both text and files, and everything is processed locally in your browser.
Features
- Five algorithms in one go, so you never have to guess which one a website used.
- Text and file input. Text is hashed as UTF-8; files are hashed byte for byte.
- Checksum verification. Paste an expected value and the tool tells you which algorithm matches — or warns you that nothing does.
- Uppercase output for systems that print hex in capitals.
- Private and offline-capable: files never leave your device.
Typical uses
Verifying downloads. Software vendors often publish a SHA-256 checksum next to installers and ISO images. Hash the file you downloaded and compare: if the values match, the file is complete and has not been tampered with in transit.
Detecting duplicate files. Two files with the same SHA-256 hash are, for all practical purposes, identical. Hashing is a quick way to deduplicate photos or backups.
Development and APIs. Hashes are used for cache keys, ETags, content addressing, and signing schemes. Generating a reference value here helps when debugging code that calculates hashes.
Legacy systems. Some older tools still expect MD5 or SHA-1 checksums. They are fine for detecting accidental corruption, but should not be relied on to prevent deliberate tampering.
How hash functions differ
| Algorithm | Output length | Status |
|---|---|---|
| MD5 | 128 bits (32 hex chars) | Broken — checksums only |
| SHA-1 | 160 bits (40 hex chars) | Broken — legacy use only |
| SHA-256 | 256 bits (64 hex chars) | Recommended |
| SHA-384 | 384 bits (96 hex chars) | Strong |
| SHA-512 | 512 bits (128 hex chars) | Strong |
"Broken" means researchers can deliberately create two different inputs with the same hash (a collision). SHA-256 and the longer SHA-2 variants have no known practical attacks.
If you need random identifiers rather than fingerprints, use the UUID Generator. To encode a file's raw bytes as text instead of hashing them, use Base64.