Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes in Hex, Base64, or Base64URL.
About this tool
Compute MD5, SHA-1, SHA-256, SHA-384, or SHA-512 hashes of any text, output as Hex, Base64, or Base64URL, updating live as you type — no need to pick one algorithm and hit convert separately for each.
What a hash actually is
A hash function takes any input and produces a fixed-length fingerprint — the same input always produces the same hash, but there's no way to reverse a hash back into the original text. That one-way property is what makes hashing useful for verifying that a file or piece of text hasn't changed: hash it before and after a transfer, and if the hashes match, nothing was altered.
MD5 and SHA-1 are broken for security — but still fine for checksums
Both algorithms have known collision weaknesses, meaning it's computationally feasible to construct two different inputs that produce the same hash — a real problem if you're relying on a hash to prove authenticity or protect a password, but irrelevant if you're just using it as a cache key or a quick way to detect whether a local file changed. For anything security-sensitive, use SHA-256 or higher.
Frequently asked questions
Should I use this to hash passwords?
No. A general-purpose hash like SHA-256 is deliberately fast, which means an attacker with stolen hashes can try billions of password guesses per second against it. Passwords need a slow, salted algorithm like bcrypt, scrypt, or Argon2 instead.
What's the difference between the Hex and Base64 output formats?
They're two text representations of the exact same hash bytes — Hex is longer and uses only 0–9 and a–f, Base64 is shorter but uses a wider character set. Use whichever format the system you're comparing against expects.