How to use the hash generator
- Type or paste text, or click Hash a File to choose a file.
- The hashes appear straight away. Click Copy next to the one you need.
- 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?
| Hash | Length | Use it for |
|---|---|---|
| MD5 | 32 characters | Quick checks that a file copied correctly. Not safe for security. |
| SHA-1 | 40 characters | Older systems and Git. No longer considered secure. |
| SHA-256 | 64 characters | The modern standard for checksums, signatures and blockchains. |
| SHA-384, SHA-512 | 96 and 128 characters | Extra 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.