No Signup Required

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

Get MD5 and SHA checksums for any text or file, and check them against an expected value.

  • Runs in your browser — nothing uploaded
  • Instant, no waiting in a queue
  • Free, no watermark, no daily limits

Type text or drop a file to compute its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once. SHA hashes use your browser’s built-in Web Crypto API and MD5 uses the open-source spark-md5 library, so results match standard command-line tools such as sha256sum. Turn on HMAC to sign the input with a secret key, and paste an expected hash to see instantly which algorithm matches — handy for verifying downloads.

How to Generate a SHA-256 or MD5 Hash

  1. 1

    Choose text or file

    Type or paste text, or switch to File and drop the file you want to check.

  2. 2

    Read the hashes

    MD5, SHA-1, SHA-256, SHA-384 and SHA-512 appear together. Toggle uppercase if you need it.

  3. 3

    Verify (optional)

    Paste the checksum you were given into “Compare with” to see whether it matches.

Why use ToolzBank Hash Generator?

  • MD5, SHA-1, SHA-256, SHA-384 and SHA-512
  • Hash text or any file
  • HMAC-SHA signatures with a secret key
  • Checksum comparison with match highlight
  • Uppercase or lowercase hex output
  • Uses the browser’s Web Crypto API

Frequently asked questions

What is a hash?
A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and even a one-character change produces a completely different result, which makes hashes useful for verifying files.
Which hash should I use?
Use SHA-256 or SHA-512 for integrity checks and signatures. MD5 and SHA-1 are fine for detecting accidental corruption but are broken for security purposes, so don’t rely on them against attackers.
Can a hash be reversed?
No. Hash functions are one-way. Short or common inputs can sometimes be guessed with lookup tables, which is why passwords should be stored with a slow, salted algorithm like bcrypt or Argon2 instead of a plain hash.
How do I verify a downloaded file?
Switch to File, drop the download, and paste the checksum published by the provider into “Compare with”. A green Match means the file is identical to the original.
Why is HMAC-MD5 not available?
Browsers’ Web Crypto API only supports HMAC with SHA algorithms, so with HMAC on, the MD5 row shows “Not available with HMAC”.
Is my file or text uploaded?
No. Files are read and hashed locally in your browser; nothing is sent to a server.

More free developer tools