Tools › Build › Hash Generator
🔑

Hash Generator – MD5, SHA-256, SHA-512 & HMAC

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes for text or files, add an HMAC key and verify checksums — all inside your browser.

✅ 100% Private
📁 Text & Files
🔑 HMAC Support
1

Input

Hash some text or a file — nothing is uploaded.

0 characters · 0 bytes
🔐

Hash results

Type or paste text above to see its hashes.

MD5—
SHA-1—
SHA-256—
SHA-384—
SHA-512—
Advertisement

How to use

  1. Choose Text or File and enter your input.
  2. Optionally tick HMAC and add a secret key, and pick the output format.
  3. Copy any hash with its Copy button, or Copy all.
  4. To verify a download, paste the published checksum into the compare box.

What is a hash function?

A cryptographic hash function turns any input — a word, a document or a multi-gigabyte file — into a short, fixed-length fingerprint called a hash or digest. The same input always gives the same hash, but changing even one character gives a completely different result, and you cannot work backwards from the hash to the original data.

MD5, SHA-1, SHA-256, SHA-384 and SHA-512 compared

  • MD5 (128-bit, 32 hex characters) — fast and still used for file checksums, but broken for security. Never use it for passwords or signatures.
  • SHA-1 (160-bit) — deprecated for security; still seen in older systems and Git.
  • SHA-256 (256-bit) — the standard choice for integrity checks, certificates and blockchains.
  • SHA-384 / SHA-512 — longer SHA-2 variants for higher security margins.

What is HMAC?

HMAC combines a hash function with a secret key to prove that a message is both unchanged and sent by someone who knows the key. It is used to sign API requests, webhooks (for example Razorpay or Stripe signatures) and tokens such as JWTs. Tick “Use HMAC” and enter your key to compute it.

Verify a downloaded file

Software publishers often list a SHA-256 or MD5 checksum next to a download. Switch to the File tab, choose the downloaded file, paste the published checksum into the compare box — a green “Match” confirms the file was not corrupted or tampered with.

Frequently asked questions

Is it safe to hash passwords or sensitive text here?

Everything is computed inside your browser. Neither your text nor your files are uploaded or stored. That said, plain MD5 and SHA hashes are not suitable for storing passwords — use a slow password-hashing function such as bcrypt, scrypt or Argon2 in your application.

Can a hash be reversed or decrypted?

No. Hashing is one-way. Websites that “decrypt” MD5 simply look up hashes of common words in huge tables. Long, random input cannot be recovered from its hash.

Why is my hash different from another tool's result?

Usually the input differs: a trailing space or line break, different line endings (Windows CRLF vs Unix LF), or a different text encoding. This tool hashes text as UTF-8. If you are checking a file, use the File tab so the exact bytes are hashed.

Which hash should I use to check a file download?

Use whichever the publisher provides — most now publish SHA-256. If several are listed, SHA-256 or SHA-512 is preferable to MD5 for security.

How do I hash a file without uploading it?

Open the File tab and choose or drop your file. The hashing happens locally in your browser, so even private documents never leave your device. Files up to 300 MB are supported.

Does this support SHA-3, bcrypt or CRC32?

Not at the moment. This tool covers the most-used algorithms: MD5, SHA-1 and the SHA-2 family (SHA-256, SHA-384, SHA-512), with optional HMAC.