What it does
A hash is a fixed-length fingerprint of your input. The same bytes always produce the same digest, and changing a single character produces a completely different one with no resemblance to the first — the avalanche effect. That makes hashes ideal for verifying that a download arrived intact, building cache keys, deduplicating files, and spotting whether two inputs differ without storing or comparing the originals. This tool computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 together and shows each as lowercase hex.
Text and files
Typed text is encoded as UTF-8 before hashing, so accented and non-Latin characters hash correctly and match what a server using UTF-8 would compute. Drop a file instead and it hashes the exact bytes on disk — use this to check a download against a published checksum. One caveat: a value you paste is hashed as text including any invisible characters, while the file path hashes the raw bytes, so abc typed in the box and a file containing abc plus a trailing newline will not match.
Choosing an algorithm
MD5 and SHA-1 are fast but cryptographically broken: practical collisions exist, so never use them for signatures, passwords or anything an attacker could exploit — they remain fine for non-adversarial checksums and cache keys. SHA-256 and above are the modern default when collision resistance matters. For verifying a file a publisher posted as sha256, hash the file here and compare the two strings; they should be identical character for character.
Not for passwords
A plain fast hash is the wrong tool for storing passwords — it is far too quick to brute-force. Use a slow, salted algorithm such as bcrypt, scrypt or Argon2 instead. For keyed message authentication see the HMAC Generator, and for random salts the Salt Generator.
Privacy
Hashing runs locally in your browser; the text and any dropped file are never uploaded.