Hash Generator

Type text or choose a file to see its hashes.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the hash generator

  1. Type or paste text, or choose a file.
  2. The hashes appear immediately underneath.
  3. Press Copy next to the one you need, or compare it with the checksum you were given.

What is a hash?

A hash function turns any input, from a single word to a multi-gigabyte file, into a short fixed-length fingerprint. The same input always gives the same hash, and changing even one character produces a completely different one. It is a one-way process: you cannot work backwards from the hash to the input.

AlgorithmLengthStatus
MD532 hex charactersBroken for security; fine for checking accidental file corruption
SHA-140Broken for security; still seen in older systems and Git
SHA-25664Secure; today's standard
SHA-38496Secure
SHA-512128Secure

What hashes are used for

  • Verifying downloads. Software sites publish a checksum. Hash the file you downloaded here and compare: if the values match, the file is complete and unaltered.
  • Detecting duplicates and changes in files and records.
  • Digital signatures, certificates and blockchains, which all rely on SHA-256.

Do not hash passwords with these

Plain MD5 or SHA hashes are designed to be fast, which makes them easy to brute-force. Applications should store passwords with a slow, salted algorithm such as bcrypt, scrypt or Argon2.

Text is hashed as UTF-8, with no line break added at the end. The echo command in a terminal adds one by default, so echo hello | md5sum gives a different result; use echo -n.

Frequently asked questions

Can a hash be reversed or decrypted?

No. Hashing is one-way. Sites that claim to 'decrypt' MD5 simply look the hash up in a list of previously hashed common words.

How do I verify a download?

Choose the downloaded file on this page and compare the hash with the one shown on the download site. They must match exactly.

Is my file uploaded?

No. The file is read and hashed by your browser on your own device.

Related tools