Generate MD5, SHA-1, SHA-256, and SHA-512 hashes in your browser. Text never leaves this page.
Enter text to hash
A hash generator computes a fixed-length fingerprint of text. Type or paste text above and the MD5, SHA-1, SHA-256 and SHA-512 hashes update as you type, as lowercase hexadecimal. Text is hashed as UTF-8 in your browser (SHA via the Web Crypto API, MD5 via a small local script) and is never sent to PagesTest.
| Algorithm | Output | Status |
|---|---|---|
| MD5 | 128 bits, 32 hex characters | Broken: collisions can be produced deliberately. Fine for non-security checksums and cache keys. |
| SHA-1 | 160 bits, 40 hex characters | Deprecated for security since practical collisions were shown in 2017. Still seen in Git and older systems. |
| SHA-256 | 256 bits, 64 hex characters | The current default for checksums, signatures and integrity checks. |
| SHA-512 | 512 bits, 128 hex characters | Same family as SHA-256 with a longer output; often faster on 64-bit machines. |
For reference, the SHA-256 hash of abc is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad.
echo abc | sha256sum hashes abc plus a line break. Use printf '%s' 'abc' | sha256sum (Linux) or printf '%s' 'abc' | shasum -a 256 (macOS) to compare with this tool.sha256sum file.iso, or Get-FileHash file.iso in PowerShell.Upper- or lower-case hex makes no difference: BA78… and ba78… are the same hash.
MD5 and SHA hashes are designed to be fast, which makes guessing passwords against them fast too. Store passwords with a slow, salted password-hashing function such as Argon2, bcrypt or scrypt. To create a strong password, use the Password Generator.
No. Hashing is one-way. Sites that claim to "decrypt MD5" look the hash up in a table of hashes of common strings; that only works for short or common input.
Not for anything an attacker might target, such as signatures, certificates or passwords. It is still acceptable for detecting accidental changes, like comparing two copies of a file.
No. All four hashes are computed in your browser, and the text stays on your device.
That is a design goal of cryptographic hashes, called the avalanche effect: changing a single character changes, on average, half the bits of the output.