Hash Generator — MD5, SHA-1, SHA-256, SHA-512
Compute cryptographic hashes of text in MD5, SHA-1, SHA-256 and SHA-512.
A cryptographic hash turns any input into a fixed-length fingerprint. The same input always produces the same digest, and a tiny change to the input completely changes the output. Hashes are used for integrity checks, deduplication keys, ETags and content addressing.
This tool hashes UTF-8 text with MD5, SHA-1, SHA-256 and SHA-512 at once and shows the result as lowercase hexadecimal. SHA functions use the browser's native Web Crypto implementation; MD5 is computed with a small bundled implementation because browsers do not expose it.
Features
- MD5, SHA-1, SHA-256 and SHA-512 in one view
- Lowercase hex output, ready to paste
- UTF-8 encoding of the input
- Live — the digests update as you type
- Per-algorithm copy buttons
How to use the hash generator
- Type or paste the text you want to hash.
- Read the four digests below.
- Copy the one you need.
Frequently asked questions
Should I use MD5 or SHA-1 for security?
No. Both are broken for collision resistance. Use them only for non-security checksums or legacy compatibility. Prefer SHA-256 or SHA-512 for anything that matters.
Can I hash a file?
This version hashes text only. For file checksums, use your operating system's shasum / certutil, or ask and file hashing can be added.
Is this a password hash?
No. Passwords should be stored with a slow, salted algorithm such as bcrypt, scrypt or Argon2 — never a raw MD5 or SHA digest.
Does my text leave the browser?
No. Hashing is done locally with Web Crypto and a bundled MD5 routine.
Last updated September 10, 2026.