Home › Blog › How to generate and compare hashes
Developer Tools guide

How to generate and compare hashes

Hashes are used to check that a file has not changed and to fingerprint data. Type text or choose a file and see every common hash at once.

Open the Hash Generator tool

Step by step

  1. Enter text or choose a file. Type text or pick a file from your device.
  2. Read the hashes. All five hashes appear at once.
  3. Compare or copy. Paste a known hash to compare, or copy any result.

Tips for better results

  • Use the compare box to check a download against the hash published by its author.
  • MD5 and SHA-1 are broken for security use; prefer SHA-256 or SHA-512.
  • Add a secret key to compute an HMAC instead of a plain hash.

Limits to know

  • Formats: Any text or file
  • Size: Files up to 300 MB
  • Notes: Hashing a large file reads it into memory, so very large files may be slow.

At a glance

ToolHash Generator
CategoryDeveloper Tools
Works withAny text or file
Size limitFiles up to 300 MB
Where it runsIn your browser tab; your input is not uploaded
CostFree, no sign-up

Frequently asked questions

Is hashing the same as encryption?

No. A hash is a one-way fingerprint. You cannot turn it back into the original data.

Is my data uploaded?

No. Text and files are hashed in your browser.

Which algorithm should I use?

Use SHA-256 or stronger for security. MD5 and SHA-1 are only suitable for checksums and compatibility.

If something does not work

  • The result says a value is invalid. Check that every field has a number in the allowed range; the message names the field.
  • The numbers look different from another calculator. Rounding, rate and date conventions differ between calculators. Compare the assumptions shown with the result.
  • The page does not update. Reload it and try again; if it still fails, report it.
  • Is the answer advice? No. Results are estimates for general information.

Still stuck? Use Report a Problem and tell us the tool, your browser and what happened, or read the Help Center.

Related tools and guides

More tools like this are in Developer Tools, or browse all tools.