Hash Generator
MD5, SHA-1, SHA-2 and SHA-3 checksums of text or a file.
Loading the tool…
Calculate MD5, SHA-1, SHA-2 and SHA-3 checksums for a piece of text or a file, and compare them with a checksum you were given. Files are read in your browser and are not uploaded. Use it to check that a download is intact.
How to use Hash Generator
- Choose Text or File.
- Type or paste text, or choose a file (up to 25 MB).
- Read the checksums. Pick hex or base64 output, and upper or lower case for hex.
- Paste the checksum you were given into the compare box to see whether it matches.
- Use Copy on one line, or copy all of them.
Limits and tips
- MD5 and SHA-1 are marked as weak. They are fine for spotting accidental corruption but not for security.
- Files above 25 MB are not accepted, because the browser has to hold the file in memory.
- A checksum shows a file is identical to the one that was hashed. It does not show the file is safe.
- Text is hashed as UTF-8. Different line endings or a trailing space give a different checksum.
Private by design: how it works
This tool runs in your browser. The text you type or paste stays on this device and is never sent to a server. You can check it: open your browser network panel while you use the tool.
How we verify privacy ›Frequently asked questions
Is my file uploaded?
No. The file is read by your browser and hashed on your device. It is not sent anywhere and nothing is stored after you leave the page.
Which algorithm should I use?
Use SHA-256 for checking downloads unless the publisher gives another. SHA-512 and SHA-3 are also strong. MD5 and SHA-1 are only suitable when a source still publishes them for checking against accidental damage.
Why does my checksum not match?
Common causes are a partly downloaded file, a different file version, text with different line endings, or a copied checksum with extra spaces. The compare box ignores spaces and letter case.
Can a hash be reversed to get the text?
Not directly. Hashing is one-way. Short or common inputs can still be guessed by trying many candidates, so do not rely on a plain hash to hide a password.
What is the difference between hex and base64?
They are two ways of writing the same bytes. Hex is the common choice for file checksums; base64 is shorter and appears in some web and security formats.
Last updated 2026-10-04 · Reviewed by the ToolBook team