Hash generator

Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes and HMACs for text or files in your browser. Nothing is uploaded.

Hash a file

Uses your browser’s Web Crypto. MD5 is not available there and is not safe for security anyway. Do not use plain SHA hashes to store passwords.

About this tool

Create SHA-1, SHA-256, SHA-384 and SHA-512 hashes, plus HMAC signatures with a secret, for text or a file. It uses your browser’s Web Crypto, so data stays on your device.

What you can do

  • Checksum a download to compare with a published hash
  • Test webhook signatures with HMAC-SHA256
  • See how a tiny text change alters the whole hash
  • Hash files up to 100 MB locally

All tools · LLM API exercises · Free demo API

Frequently asked questions

Why is MD5 missing?

Browsers do not provide MD5 in Web Crypto, and MD5 is broken for security use. Choose SHA-256 or stronger.

Can I store passwords with SHA-256?

No. Use a slow password hashing function such as Argon2id, scrypt or bcrypt on your server.

What is HMAC?

A hash combined with a secret key, used to prove a message came from someone who knows the key.