This hash generator creates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file. It is for anyone who needs to confirm a download is intact, compare two pieces of data, or get a quick digest of a string. It is free, and your files are processed in your browser, so nothing is uploaded.
How do you generate a hash online?
- Type or paste your text, or choose a file. Files up to 500 MB are supported.
- Find the result for the algorithm you need: MD5, SHA-1, SHA-256, SHA-384 or SHA-512.
- Turn on the uppercase option if the checksum you are comparing against is written in capital letters.
- Copy the hash you need.

This tool pairs well with the Password Generator. If you do this kind of job often, the UUID Generator and the Regex Tester can save you time too.
The same input always produces the same hash. Change a single character and the result looks completely different. That is what makes hashes useful for spotting changes.
How do you verify a file checksum?
Many download pages publish a checksum next to the file. Comparing it with your own result tells you whether the file arrived unchanged.
- Download the file and note the checksum on the website, plus the algorithm it uses.
- Choose the downloaded file in the tool.
- Copy the hash for the same algorithm.
- Compare the two strings. If they match exactly, the file is not corrupted.
If they do not match, download the file again before you open or install it. Check that you compared the right algorithm first. A SHA-256 value will never match an MD5 value, even for the same file.

What is a hash generator good for?
- Checking downloads. Confirm an installer, ISO or archive matches the checksum the publisher lists.
- Finding corrupted copies. After a file transfer or backup, hash both copies. Different results mean something went wrong.
- Comparing files. Two files with the same hash are almost certainly identical, even if their names differ.
- Checking text. Hash a string before and after editing to see whether it really changed.
- Development and testing. Produce a known digest to check against the output of your own code.
Which hash algorithm should you choose?
Use the one the publisher lists. If you are free to choose, SHA-256 is a sensible everyday pick for a file checksum.
| Algorithm | Length (hex characters) | Typical use |
|---|---|---|
| MD5 | 32 | Quick checks for accidental corruption, or when a site only publishes MD5 |
| SHA-1 | 40 | Older checksums and legacy systems |
| SHA-256 | 64 | General-purpose checksums |
| SHA-384 | 96 | When a source provides a SHA-384 value |
| SHA-512 | 128 | When a source provides a SHA-512 value |
The length is a quick sanity check. If the checksum you were given has 64 characters, it is almost certainly SHA-256.
Tips for accurate results
- Watch for hidden characters. A trailing space or an extra line break changes the hash of your text completely.
- Ignore letter case when comparing. Uppercase and lowercase hex describe the same value. The uppercase option only changes how it is displayed.
- Copy, don't retype. One wrong character makes a good file look broken. Paste both strings next to each other and compare.
- Match the algorithm. Check which one the website uses before you start.
- Allow time for big files. Hashing a file near the 500 MB limit takes longer than a short string, because your browser does the work.
Can you use MD5 or SHA-1 for passwords?
No. MD5 and SHA-1 are not secure for passwords. They are fast to compute, which helps attackers who try millions of guesses. If you build a login system, use a dedicated password hashing method such as bcrypt or Argon2 instead.
A hash is also not encryption. You cannot turn a hash back into the original text, so it is not a way to hide data you need to read later. Use this tool for checksums and comparisons, not for storing secrets.
Why doesn't my hash match?
Most mismatches have a simple cause. Run through this list before assuming the file is bad:
- You compared different algorithms, such as MD5 against SHA-256.
- The text has extra spaces or a line break that the original did not.
- The download was interrupted or changed along the way. Download it again and retest.
- You copied only part of the checksum from the page.
If a fresh download still does not match with the correct algorithm, do not trust the file. Get it again from the official source.
