Hash Generator

Generate MD5, SHA and CRC32 hashes of text or files, and verify checksums

Calculate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 hashes of text or any file at once, verify a download against its published checksum, or create HMAC signatures with a secret key. Everything runs in your browser.
Try an example:

Output will appear here...

About Hash Generator

How it works

  1. Type text or open a file. Text is converted to bytes using UTF-8; files are read byte for byte in your browser.
  2. The bytes go through six algorithms at once: MD5, SHA-1, SHA-256, SHA-384 and SHA-512 (with your browser's Web Crypto API) and CRC32.
  3. With a secret key, the tool creates HMACs instead - keyed hashes used to sign API requests and webhooks.
  4. Paste an expected checksum and the tool tells you which algorithm matches, so you can confirm a download is complete and untampered.

What you need

  • Some text, or a file up to 100 MB.
  • A modern browser (all current browsers support Web Crypto).

Tips

  • To verify a download, open the file and paste the checksum from the publisher's site - prefixes like "sha256:" are fine.
  • Use SHA-256 or better for anything security-related; MD5 and SHA-1 are broken and only fit for spotting accidental changes.
  • One changed character or byte gives a completely different hash - that is how you know the data changed.
  • Never store passwords as plain hashes; use the Bcrypt Generator instead.

Limitations

  • Hashes cannot be reversed. A "decrypt MD5" site only looks values up in tables of common inputs.
  • Text hashes depend on exact bytes: a trailing space or Windows line endings (CRLF) change the result.
  • SHA-3 and BLAKE are not included because browsers do not provide them natively.

Runs in your browser. Your text and files are processed entirely in your browser and never uploaded.

Frequently asked questions

What is a hash?+

A fixed-length fingerprint of data. The same input always gives the same hash, any change gives a completely different one, and you cannot work backwards from the hash to the input.

How do I verify a downloaded file?+

Open the file here, paste the checksum the publisher lists (usually SHA-256) into "Compare with expected hash" and run. ✓ means your copy is identical to theirs; ✗ means it is corrupted, incomplete or a different file.

What is HMAC?+

A hash mixed with a secret key. Only someone with the key can produce or check it, so services like Stripe, GitHub and Slack use HMAC-SHA256 to sign webhooks and API requests.

Which algorithm should I use?+

SHA-256 for checksums, signatures and general use. CRC32 only detects accidental errors (it is used in ZIP files and networks). MD5 and SHA-1 only for compatibility with old systems.