Hash Generator
Get the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hash of any text or file at once, and check it against a checksum you already have.
How it works
A hash function turns any input into a fixed-length fingerprint. Change a single character and the result looks completely different, but the same input always gives the same output. That makes hashes useful for checking that a download or a message hasn't been altered, and for spotting duplicate files.
This tool computes MD5, SHA-1, SHA-256, SHA-384 and SHA-512 together as you type. Text is converted to UTF-8 bytes first, so an emoji or an accented letter hashes the same way it would in most programming languages. You can also pick a file instead; it is read locally and never uploaded.
| ALGORITHM | OUTPUT SIZE | STATUS |
|---|---|---|
| MD5 | 128 bits (32 hex chars) | Broken for security; fine for checksums |
| SHA-1 | 160 bits (40 hex chars) | Broken for security; legacy use only |
| SHA-256 | 256 bits (64 hex chars) | Current general-purpose choice |
| SHA-384 | 384 bits (96 hex chars) | Secure |
| SHA-512 | 512 bits (128 hex chars) | Secure |
Don't hash passwords with these
MD5 and SHA hashes are designed to be fast, which is exactly what you don't want for storing passwords. Use a slow, salted password hash such as bcrypt, scrypt or Argon2 instead. For message authentication with a secret key, use the HMAC Generator.
Frequently asked
Is my text uploaded anywhere?
No. Hashing runs entirely in your browser using built-in Web Crypto and a small local MD5 routine. Nothing you type or select is sent to a server.
Why doesn't my hash match the one from another tool?
Usually the input differs by a hidden character: a trailing newline, different line endings, or extra spaces. Hashes are sensitive to every byte. The text here is hashed exactly as typed, encoded as UTF-8.
Is MD5 still safe to use?
Not for anything security-related, because attackers can craft collisions. It is still common for quick integrity checks and cache keys where nobody is trying to forge a match. For anything that matters, use SHA-256 or stronger.
Can I hash a file to verify a download?
Yes. Choose a file with the File button, then paste the checksum published by the download's author into the compare box. The tool tells you whether it equals any of the five hashes.