Skip to content
HandfulTools

Hash Generator (MD5, SHA-1, SHA-256, SHA-512)

Type or paste text to see its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes update live. Add a secret key to compute an HMAC for verifying webhook signatures.

Runs in your browser

Loading…

How to use

  1. Type or paste the text.
  2. Copy the hash you need.
  3. For HMAC, open the HMAC section and enter the secret key.

How it works

Text is encoded as UTF-8 before hashing, so results match command-line tools such as sha256sum and most programming languages. SHA hashes are computed with the browser's Web Crypto API (FIPS 180-4); MD5 uses an RFC 1321 implementation.

MD5 and SHA-1 are broken for security purposes (collisions can be produced), so use SHA-256 or stronger for anything security-related. None of these are suitable for storing passwords — use a slow password hash such as Argon2 or bcrypt.

Examples

Empty string
SHA-256 of an empty string is e3b0c442…b855 — a handy sanity check.

Common uses

  • Verifying webhook signatures (HMAC-SHA256)
  • Creating cache keys and ETags
  • Comparing values without revealing them

Privacy & security

This tool runs entirely in your browser. Your files and text are never uploaded to our servers — processing happens on your device and results are created locally. How each tool handles files

Frequently asked questions

Can a hash be reversed?

Not mathematically. Short or common inputs can be found by guessing, which is why passwords need salted, slow hashes.

Why doesn't my result match another tool?

Check for trailing spaces or line breaks and the text encoding. This tool hashes exactly what's in the box as UTF-8.

Last updated: