What the Hash Generator does
The Hash Generator calculates the five most common hashes of any text at the same time: MD5, SHA-1, SHA-256, SHA-384 and SHA-512. A hash is a short fingerprint of the input. The same text always gives the same hash, and changing even one character gives a completely different one, which makes hashes useful for checking that data has not changed.
How to use it
- Type or paste your text into the Input box.
- Read all five hashes in the panel on the right. They update as you type.
- Tick Uppercase hex if the system you are comparing with uses capital letters.
- Copy a single hash with its button, or copy all of them at once.
Example
A colleague sends you a SHA-256 value to confirm a licence key was copied correctly. Paste the key and compare the SHA-256 line with theirs. If one character is different, for example a capital O instead of a zero, the two hashes will not match at all, so you know straight away that the key was mistyped.
Which hash should I use?
Use SHA-256 or longer for anything new. MD5 and SHA-1 are still common for checksums and old systems, but they are no longer safe against deliberate tampering. None of these hashes should be used alone to store passwords; password storage needs a slow algorithm such as bcrypt or Argon2.
Text is hashed as UTF-8 exactly as typed, including spaces and line breaks. A trailing line break changes the hash, which is the most common reason two hashes of the “same” text differ.
Questions people ask
Can a hash be turned back into the text?
No. Hashes only work one way. Short or common inputs can sometimes be guessed by trying many possibilities, which is why passwords need special handling.
Why do I only see MD5?
Browsers only allow SHA hashing on secure (https) pages. On the live site all five appear; MD5 is calculated by the page itself.
Can I hash a file?
This tool hashes text. The Checksum Calculator, coming in a later update, hashes files.
Is my text sent anywhere?
No. All hashing happens in your browser.