MD5 Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes for text or a file, and verify a checksum you were given. Everything is calculated locally in your browser — your text and files are never uploaded.
What is a hash, in plain words?
A hash turns any text or file into a fixed-length fingerprint of letters and numbers. The same input always gives the same fingerprint, and changing even one character changes it completely — so publishers post a file's hash next to the download, and you compare it after downloading to prove the file arrived intact and untampered. That is exactly what the verify box above does.
Which algorithm should you use?
For checking a download, use whichever one the publisher gave you — SHA-256 is the current norm. MD5 and SHA-1 are fast and fine for spotting accidental corruption, but both can be forged on purpose, so never rely on them (or store passwords with them) where security matters. Passwords need a dedicated slow hashing function such as bcrypt or Argon2, not any of these.
Frequently asked questions
What is an MD5 hash used for?
Mostly as a fingerprint: publishers post a file's MD5 next to a download so you can check your copy is complete and uncorrupted. It is fast, but it can be forged deliberately, so it is not a security control.
How do I verify a file's checksum?
Use the 'Hash a file' tab to select the downloaded file, then paste the publisher's hash into the verify box on this page. It tells you which algorithm matched — or if none did.
MD5 or SHA-256 — which should I use?
For verifying downloads, use whichever the publisher provided. When you are publishing your own checksums, SHA-256 is the current standard; MD5 and SHA-1 are legacy.
Can a hash be reversed back to the original text?
No — hashing is one-way. The only way to 'reverse' a hash is to guess inputs and compare, which is why passwords must be stored with slow algorithms like bcrypt instead.
Is my file uploaded to a server for hashing?
No. All five hashes are calculated in your browser (the SHA family by the Web Crypto API, MD5 by code running on the page). Nothing you type or select leaves your device.