Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text or a file - computed entirely in your browser.
What each algorithm is good for
All four functions here take any input and return a fixed-length fingerprint. Change a single byte of the input and the whole hash changes unpredictably. That is what makes them useful for spotting corruption, deduplicating files and verifying that a download arrived intact.
- MD5 - 128-bit, very fast, fine for checksums and cache keys, but broken for security.
- SHA-1 - 160-bit, also fast, still seen in older Git internals, but no longer collision-resistant.
- SHA-256 - the modern default: strong, widely supported, used in TLS certificates and Bitcoin.
- SHA-512 - a larger digest for extra margin, often faster than SHA-256 on 64-bit machines.
Verifying a file
Publishers often list a SHA-256 checksum next to a download. To check yours matches, switch to the file tab, drop the file in, and compare the SHA-256 string character for character. A perfect match means the file is byte-for-byte identical to the original; any difference means it is corrupt or has been altered.
Hashing is not encryption
A hash is one-way: there is no key and no way to recover the original text from it. That is exactly why it suits integrity checks and password storage. If you need a reversible transform instead, use the Base64 encoder. For inspecting signed tokens, the JWT decoder is the tool you want, and the UUID generator covers random identifiers.