SHA Hash & HMAC Generator
SHA-1, SHA-256, SHA-384 and SHA-512 for any text or file, in your browser.
Runs entirely in your browser — nothing you enter is uploaded or stored on a server.
How to use it
Hash text or a file with every SHA variant at once, in hex or Base64, and key the digest with a secret to produce the HMAC a webhook signature check expects. Uses the browser's own Web Crypto, so files are read locally and never uploaded.
- Choose text or a file.
- Turn on HMAC and enter a secret if you are checking a signature.
- Copy the digest you need in hex or Base64.
Questions
Where is MD5?
Browsers do not implement MD5 in Web Crypto, and it has been cryptographically broken for two decades. Anything relying on MD5 for integrity should move to SHA-256.
Is my file uploaded?
No. The file is read into memory by your browser and hashed there. Nothing is sent over the network.
Do these match the command line?
Yes. For the same bytes, the hex output matches shasum -a 256 and openssl dgst -sha256.
Can I hash a password with this?
You can, but you should not store the result. Passwords need a slow, salted algorithm such as bcrypt, scrypt or Argon2 — a raw SHA hash is far too fast to resist guessing.