Hash Generator
Paste text, pick MD5, SHA-1, SHA-256, or an HMAC flavor, then Hash. HMAC also needs a secret key. Digests stay on this device.
Click Hash.
About this tool
This page now includes the old HMAC generator. SHA and HMAC use Web Crypto. MD5 is a real MD5, not a SHA-256 disguise. Empty input still hashes the empty string. Output is lowercase hex.
How to use
- Pick an algorithm: Choose MD5, SHA-1, SHA-256, or an HMAC-SHA option.
- Enter the text: Paste the string to hash. For HMAC, also enter the secret key.
- Click Hash: The result line shows the algorithm label and lowercase hex digest.
- Copy the digest: Select the hex string and reuse it as a checksum or signature.
Common use cases
- Fingerprint a short string before storing a checksum.
- Compare two snippets with the same algorithm.
- Sign a message with HMAC-SHA256 and a shared secret.
- Check a legacy MD5, then switch to SHA-256 for new work.
Tips
- Click Hash after every edit; the digest does not refresh by itself.
- Prefer SHA-256 or HMAC-SHA256 for new work. MD5 and SHA-1 are compatibility only.
FAQ
Why does the result say Click Hash at first?
The digest is computed only when you press Hash.
Where did the HMAC page go?
It redirects here. Choose HMAC-SHA256, HMAC-SHA384, or HMAC-SHA512.
Does hashing upload my text?
No. Digest creation runs in the browser.
What encoding is used?
Input and HMAC keys are UTF-8 encoded before hashing.