MD5 and SHA hash generator

Type text or choose a file to get its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once. Paste an expected checksum to check that a download is genuine.

MD5
SHA-1
SHA-256
SHA-384
SHA-512

How to use the hash generator

  1. Type or paste text, or click Hash a File to choose a file.
  2. The hashes appear straight away. Click Copy next to the one you need.
  3. To check a download, paste the checksum from the website into the compare box.

What is a hash?

A hash is a short fingerprint of some data. Put the same text or file in and you always get the same string of letters and digits out. Change a single character and the fingerprint changes completely. A hash cannot be turned back into the original data.

Which one should I use?

HashLengthUse it for
MD532 charactersQuick checks that a file copied correctly. Not safe for security.
SHA-140 charactersOlder systems and Git. No longer considered secure.
SHA-25664 charactersThe modern standard for checksums, signatures and blockchains.
SHA-384, SHA-51296 and 128 charactersExtra safety margin where it is required.

How to verify a download

Many software sites publish a SHA-256 or MD5 checksum next to the download link. Click Hash a File, choose the file you downloaded and paste the published checksum into the compare box. If it says Match, the file is complete and has not been changed. If not, download it again from the official site.

A note on passwords

Plain MD5 or SHA hashes are not a safe way to store passwords, because modern computers can guess billions of them per second. Websites should use a slow, salted method made for passwords, such as bcrypt or Argon2. For a strong password of your own, use the password generator.

Your text stays on your device

Everything happens in your web browser. Nothing you type or paste is sent to a server or stored, so it is safe to use with private notes, passwords, keys and work documents. There is no sign-up and no limit.

Frequently asked questions

How do I generate an MD5 hash?

Type or paste your text. The MD5 hash is shown in the first row, ready to copy.

How do I get the SHA-256 of a file?

Click Hash a File and choose it. The file is read on your device and the SHA-256 appears in the list.

Can a hash be reversed?

No. A hash is one-way. The only way to find the input is to guess it and compare.

Is my file uploaded?

No. Hashes are calculated in your browser and the file never leaves your device.