Hash Generator

Calculate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text or file. Paste a known checksum to check that a download hasn't been tampered with.

How to hash text

  1. Keep Text selected and type or paste into the box.
  2. The MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes all appear at once and update as you type. Click a hash to copy it.
  3. Tick UPPERCASE if the system you compare with writes hashes in capital letters.

What is a hash?

A hash function turns any input into a fixed-length "fingerprint". The same input always gives the same hash, but changing even one letter gives a completely different result. Hashes are used to check that files downloaded correctly, to detect changes, and inside many security systems.

Which algorithm should I use?

How to verify a download

  1. Switch to File and choose the file you downloaded.
  2. Paste the checksum published on the download page into the compare box.
  3. A green match means your file is identical to the original.

FAQ

Should I hash passwords with this?

No. Passwords need slow, salted algorithms like bcrypt, scrypt or Argon2, which your server or framework provides. Plain hashes are far too fast to protect passwords.

Can a hash be turned back into the original?

No, hashing only works one way. But short or common inputs can be found by trying millions of guesses and comparing the results, which is another reason plain hashes don't protect passwords.

Why is my hash different from another tool's?

Usually because the input isn't exactly the same: an extra space or line break at the end, Windows versus Unix line endings, or text saved in a different encoding. One invisible character changes the whole hash.

Can it hash large files?

Yes. The file is read on your device, and the page shows its size and how long hashing took. Nothing is uploaded.