Hash Generator — MD5, SHA-1, SHA-256, SHA-512
Produces an MD5, SHA-1, SHA-256, SHA-384 or SHA-512 digest of your text, computed on this page.
Loading the tool…
How to use this tool
- Paste the text you want hashed, or load a file.
- Choose the algorithm. SHA-256 unless something else specifically requires otherwise.
- Choose hex or Base64 output — the checksum you are matching against will be in one of those.
- Select Hash, then compare the digest character by character, or paste it into a text comparison rather than trusting your eye.
What hash generator does
A hash turns any amount of input into a fixed-length fingerprint. The same input always gives the same digest, a single changed byte gives a completely different one, and there is no way back to the input. That last property is what makes a hash useful for checking that a file arrived intact, and what makes it useless as a way of hiding something you will need to read again.
The SHA-2 family here is computed by Web Crypto, the browser’s own implementation. MD5 is not part of Web Crypto, deliberately, because it is broken — two different inputs can be constructed to produce the same digest cheaply. It is implemented here anyway for the one honest remaining use: checking a download against a checksum somebody published years ago. SHA-1 is in the same position. Use SHA-256 for anything new.