A hash function turns any input into a fixed-length string, deterministically — the same input always produces the same hash, and changing even one character produces a completely different one. This tool computes MD5, SHA-1, SHA-256, and SHA-512 as you type, entirely in your browser.
File integrity: compare a published SHA-256 checksum against a downloaded file to confirm it
wasn't corrupted or tampered with.
Data fingerprinting: use a hash as a compact, comparable stand-in for a larger piece of data
(detecting duplicate files, cache keys).
Git and version control: Git identifies every commit and object by its SHA-1 (moving to
SHA-256) hash.
Never hash passwords with MD5, SHA-1, or SHA-256 directly for storage — these are fast, general-purpose hashes, and fast is exactly the wrong property for password storage, since it makes brute-force cracking cheap. Password storage needs a slow, salted algorithm built for it: bcrypt, scrypt, or Argon2.
Both MD5 and SHA-1 have known collision attacks — two different inputs can be crafted to produce the same hash. Neither should be used for digital signatures or certificate validation anymore. They're still fine for non-adversarial uses like checking accidental file corruption.
Use SHA-256 or SHA-512 for anything security-adjacent.
100% client-side — your text is never sent anywhere.