Hash Generator (MD5, SHA-1, SHA-256, SHA-512)
Generate MD5, SHA-1, SHA-256 and SHA-512 hex digests of any text. All four shown side by side.
Quick answer: Generate MD5, SHA-1, SHA-256 and SHA-512 hex digests of any text. All four shown side by side.
Last updated
Frequently asked questions
- How do I hash a string?
- Type or paste the text. All four hex digests update live as you type. One click copies any single algorithm.
- Should I use MD5?
- Only for non-security uses like file checksums or cache keys. MD5 is broken for collisions; SHA-256 is the safe modern default.
- Why is SHA-1 still listed?
- Some legacy systems and Git internals still use SHA-1, so we expose it for compatibility — but don't use it for new security work.
- What does 'hex' mean?
- The hash bytes are shown in lowercase base-16 — two hex digits per byte. SHA-256 has 32 bytes → 64 hex chars; SHA-512 has 64 bytes → 128 hex chars.
- Is the input sent to a server?
- No. All hashing runs entirely in your browser.
- Can I hash binary files?
- This tool hashes UTF-8 text. For files, we'll add a file-hash variant later — for now use the Base64 File Encoder to inspect file contents.
- What's the difference between hash and HMAC?
- A hash takes only data; an HMAC takes data + a secret key. Use HMAC when you need to authenticate that a message came from someone with the key.
- Why does my SHA-256 differ from another tool?
- Almost always a whitespace difference — a trailing newline, BOM or invisible character changes the digest entirely.
- Are these hashes deterministic?
- Yes — the same input always produces the same hash, on every device and browser.
- Is this hash generator free?
- Yes — free, no signup, no limits.