🔒 Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-512 hashes. Runs in your browser.

Last updated: November 8, 2026 · By the BoltQuickTools team

Check a download or compare two pieces of data by checksum

Software sites publish a SHA-256 value so you can confirm a file arrived intact, and developers compare digests to see whether two inputs are identical. This page gives you MD5, SHA-1, SHA-256 and SHA-512 at once. The SHA values come from the browser's Web Crypto API, MD5 from a JavaScript routine in the page, and the page's code does not send your text or file anywhere.

Getting a digest

  1. Choose Text Input or File Hash.
  2. For text, type in the Text box and the digests update as you go. Generate Hashes does the same on demand.
  3. For a file, drop it on the area or click to browse. Hashing starts as soon as the file has been read.
  4. Press Copy beside the value you need. Clear empties the text, the file and the results.

The same word, with and without a newline

Typing hello produces:

MD5      5d41402abc4b2a76b9719d911017c592
SHA-1    aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
SHA-256  2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

Press Enter after the word and every value changes completely:

MD5      b1946ac92492d2347c6235b4d2611184
SHA-1    f572d396fae9206628714fb2ce00f72e94f2258f
SHA-256  5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03

The second set matches what echo hello | sha256sum prints in a shell, because echo adds a newline. The first set matches printf hello | sha256sum. When a hash does not match, check this one byte first.

Things to check when values disagree

Picking an algorithm

MD5 and SHA-1 both have known collision attacks. They are still fine for spotting accidental corruption or matching an old checksum list, but not for proving nobody tampered with a file. Use SHA-256 or SHA-512 for that. SHA-384 is not offered here.

Frequently asked

Can I store these hashes as passwords?

No. These functions are built to be fast and the page adds no salt, which suits attackers guessing passwords. Use the bcrypt generator instead, and see the password hashing article for the reasoning.

How do I sign a message with a secret?

A plain digest involves no key, so anyone can recompute it. For keyed signatures such as webhooks, use the HMAC generator.

Does the file name affect the hash?

No. Only the file's bytes are hashed, so a renamed copy gives identical values.