Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes with proper UTF-8 handling.
How to use the Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from any text, all at once. The SHA family runs on your browser’s native Web Crypto API; MD5 uses a compact pure-JavaScript implementation. Everything happens locally with proper UTF-8 handling.
- 01Type or paste your text into the input box.
- 02All five hash values compute automatically and appear below.
- 03Copy any hash with its copy button.
tips
- —For anything security-sensitive, use SHA-256 or stronger. MD5 and SHA-1 are broken and suitable only for legacy checksums or dedup keys.
- —Never store user passwords as a plain hash — use a slow key-derivation function like bcrypt, scrypt or Argon2 with a per-user salt.
- —If another tool gives a different hash for the same text, it almost certainly hashed a different byte encoding (e.g. Latin-1 instead of UTF-8).
frequently asked
Which hash algorithm should I use?+
For security (passwords, signatures, integrity checks), use SHA-256 or SHA-512. SHA-1 and MD5 are cryptographically broken and should only be used for legacy checksums or non-security purposes like cache keys and deduplication.
Are these hashes secure for storing passwords?+
No. A plain hash like SHA-256 is too fast and vulnerable to brute force and rainbow tables. For password storage use a dedicated slow key-derivation function like bcrypt, scrypt or Argon2, with a unique salt per password.
Why does the same text give a different hash in another tool?+
Almost always it is an encoding difference. This tool hashes the UTF-8 byte representation of your text. If another tool hashed Latin-1 or included a trailing newline, the bytes differ and so does the hash.
Is this tool free?+
Yes. SHA hashing uses your browser’s native Web Crypto API; MD5 is computed locally. Nothing is uploaded.