freesabai

Developer tools

Hash generator: MD5, SHA-256 and HMAC

Compute the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of a text or a file, with HMAC if you give a key, and paste the checksum a publisher gives to check that the file you downloaded matches. Files are not uploaded, and files of several GB work without filling your memory.

This tool needs JavaScript. If you still see this after a few seconds, JavaScript is switched off in your browser or the page did not load completely: turn JavaScript on or reload the page.

How to use it

  1. Choose "Text" and type or paste, or choose "A file" and pick one. The hash of every algorithm you ticked appears at once (a big file shows a progress bar).
  2. For HMAC tick "Use HMAC" and give a key. Choose the output as lower-case hex, upper-case hex or Base64.
  3. To check a download, paste the checksum the source gives into "Check against a given checksum". The tool tells you whether it matches, and which algorithm it matches.

Frequently asked questions

How do I check that a download is not damaged or tampered with?

The site you downloaded from usually gives the SHA-256 (or MD5) of the file. Choose "A file", pick the downloaded file, and paste that value into "Check against a given checksum". If it says "Match ✓" the file is identical to the original, byte for byte. You can paste the whole line from sha256sum: the tool finds the hash in it.

Can it hash a file of several GB?

Yes. The file is read 1 MB at a time and never held whole in memory. There is a progress bar and a Stop button. Speed depends on your computer (usually tens to a hundred MB per second per algorithm). Ticking only the algorithms you need makes it faster.

Are MD5 and SHA-1 still fine to use?

For checking that a file is not damaged, yes, but they are not safe against forgery, because two different inputs with the same hash can be made, and they must never be used to store passwords. For security use SHA-256 or better, and store passwords with a purpose-made algorithm such as bcrypt or Argon2.

Good to know

Your data stays on your device

Everything runs in your browser. What you type, paste or open is not sent to freesabai's servers or anyone else's, and is not kept in the browser: close the page and it is gone. The site only counts how many times this page was opened and how many times someone copied or saved a result (never what was pasted or the result, and you can switch the counting off in the footer; see the privacy policy).

Report a problem or suggest an idea

Found a bug, or want this tool to do more? Tell us on the feedback page. No sign-up.

Other developer tools

JSON and data

Encoding, hashes and tokens

Generators

Time, numbers and colour

Text and code