Hash Generator (MD5, SHA-256 and more)
Hash text or files with MD5, SHA-1, SHA-256, SHA-384 and SHA-512, and check downloads against a checksum.
Runs in your browser · nothing is uploaded
How to use the Hash Generator
- Type or paste text, or open a file. All five hashes are computed at once.
- Text is hashed as UTF-8, the same bytes most programming languages produce.
- To check a download, paste the checksum from the publisher’s site into Compare. The matching algorithm lights up if it is identical.
- Copy any hash with one click, in lower or upper case.
About this tool
A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and changing even one bit gives a completely different one, so hashes are used to check that a downloaded file is intact, to detect duplicate files, as cache keys and inside signatures and git commits.
SHA-256 is the safe default today. MD5 and SHA-1 are fast and still fine for spotting accidental corruption, but they are broken for security: people can deliberately create two different files with the same MD5 or SHA-1 hash. Don’t use them for signatures or anything an attacker could tamper with.
None of these should be used on their own to store passwords. Password storage needs a slow, salted algorithm such as bcrypt, scrypt or Argon2, which your web framework provides.
Frequently asked questions
›Can a hash be reversed to get the text back?
No. Hashes are one-way. Short, common inputs can be guessed by trying many candidates, which is why passwords need slow, salted hashing.
›Why is my hash different from another tool’s?
Usually the input differs by invisible characters: a trailing newline, Windows line endings, or a different text encoding. This tool hashes exactly what is in the box as UTF-8.
›Which algorithm should I use?
SHA-256 for almost everything. SHA-512 is equally safe and faster on 64-bit machines for big files. Use MD5 or SHA-1 only to match an existing checksum.
›Is my data sent anywhere?
No. The tool runs entirely in your browser with JavaScript. What you paste is never uploaded, logged or stored on our servers, so it is safe to use with internal data, though you should still treat secrets with care on shared computers.
›How big a file can I hash?
Files up to a few hundred megabytes work well. The file is read on your device and never uploaded.