Hash generator
Get the MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC-32 of any text or file at once, and compare them with the checksum a publisher gave you - all in your browser.
- 1Select
- 2Configure
- 3Process
- 4Download
Your text, files and tokens are processed in your browser and never uploaded.
Accepts Text, files, tokensPaste text, or open a file up to 25 MB for Base64 and 500 MB for hashesText is hashed as UTF-8, exactly as typed - an extra space or line break changes every hash.
Result
Everything happens in your browser - nothing you paste or open is sent anywhere.
What a checksum proves
A hash function turns any amount of data into a short fingerprint of fixed length: 32 hex characters for MD5, 64 for SHA-256. Change one byte and the fingerprint changes completely. When a download page lists a SHA-256 value, matching it shows the file arrived complete and unaltered.
That only helps if the checksum itself is trustworthy. A value printed on the same page as the download protects against a broken transfer, but not against a hacked site that replaced both. For that, publishers sign their checksums, and the signature is what you check.
Which algorithm to use
All six results appear together, so you can match whichever one a publisher lists.
- SHA-256 is today's usual choice for downloads, software releases and packages.
- SHA-384 and SHA-512 are stronger members of the same family, used where policies require them.
- MD5 and SHA-1 still catch accidental damage, but deliberate collisions are practical, so don't rely on them for security.
- CRC-32 is a quick error check used inside ZIP and PNG files, not a security hash.
Hashing text exactly
Text is hashed as UTF-8 bytes, exactly as it is in the box. A trailing space, a final line break or Windows line endings give a different result, which is the usual reason two people get different hashes for the “same” text. The Hex & Unicode tab shows every character, including the invisible ones.
To compare with a command-line result, use sha256sum on Linux, shasum -a 256 on macOS, or certutil -hashfile with SHA256 on Windows. The comparison box accepts upper or lower case, spaces and colons, and Base64 values too.
How to check a file's checksum
- Choose File and pick the file you downloaded, or choose Text and type.
- Wait a moment while every hash is calculated; large files take a few seconds.
- Paste the checksum from the download page into Compare with a checksum.
- Read the result: the matching algorithm is highlighted, or you're told that nothing matches.
How your files stay private
The Encoder & Decoder runs entirely in your browser. Text, files, tokens, secrets and keys stay in your device's memory: Base64, URL and HTML conversions are plain JavaScript, and signatures and SHA hashes use the browser's built-in Web Crypto. The page can only connect to this site and to Google Analytics, which counts visits and never receives what you enter. Close the tab and it's gone.
Limits
- Base64 files up to 25 MB, and files up to 500 MB for hashes; very large files can be slow on older phones
- JWT signatures can be checked for HS, RS, PS and ES algorithms and EdDSA; encrypted tokens (JWE) can't be read
- Public keys must be a PEM public key or a JWK; for a certificate, paste the public key it contains
- Named HTML entities are decoded by your browser, so the list it knows is the one the HTML standard defines
Questions
Is this hash generator free?
Yes, completely free, with no sign-up.
Are my files uploaded to make the hash?
No. The file is read and hashed in your browser, so even large or confidential files stay on your device.
How large a file can I hash?
Up to 500 MB. The whole file is read into memory, so very large files work best on a computer.
Can a hash be reversed to get the text back?
No. A hash is one-way. Short, common inputs can be guessed from lookup tables, which is why passwords need special slow hashes with a salt.
Why is MD5 still offered if it's broken?
Many sites still publish MD5 checksums, and it's fine for catching a corrupted download. It isn't safe for anything an attacker could tamper with.
Is it safe to paste a token or an API key here?
It doesn't leave your device: decoding, signature checks and hashing all happen in this page. Still, treat live production tokens with care anywhere, and prefer expired or test tokens when you only need to see the layout.
Other tools you might need
Compress PDF
Reduce the size of image-heavy PDFs and scanned documents.PDF Maker
Photos and PDFs into one PDF - arrange, number and fit a size limit in one go.JSON Workbench
Format, validate, repair and compare JSON, convert it to YAML, CSV or XML, or to code.Timestamp Converter
Unix time to date and back, time zones, date differences, log timestamps and cron schedules.