Compute MD5, SHA-1, SHA-256 and SHA-512 hashes of any text instantly in your browser using the Web Crypto API. Nothing you type is uploaded.
How hashing works
A hash function condenses any input into a fixed-length fingerprint: the same text always produces the same hash, while changing a single character produces a completely different one. This tool hashes the UTF-8 bytes of your text — SHA variants via the browser's native Web Crypto API, MD5 via a small local implementation. MD5 and SHA-1 are fine as checksums but broken for security; use SHA-256 or SHA-512 where collision resistance matters.
crypto.subtle.digest("SHA-256", new TextEncoder().encode(text))Frequently asked questions
Can a hash be reversed to get the original text?
Not mathematically — hashing is one-way. But common inputs are precomputed in lookup tables, so a hash of a weak password is effectively reversible. Never rely on a bare hash to hide short or guessable text. Hashing here runs entirely in your browser.
Are MD5 and SHA-1 still safe to use?
As integrity checksums against accidental corruption, yes. For anything security-related — signatures, certificates, password storage — no: practical collision attacks exist for both. Prefer SHA-256 or stronger.
Why doesn't my hash match the one for my file?
This tool hashes the UTF-8 bytes of the text you paste. A file hash covers the file's exact bytes — including a trailing newline, BOM or Windows CRLF line endings that pasting often changes. Even one invisible byte gives a completely different hash.
Last updated: 7 July 2026
More tools
Runs entirely in your browser — nothing you enter is uploaded. DevMint · MintKit