Back to home

Hash Generator

Type text or choose a file to instantly get its MD5 and SHA hashes, and paste a published checksum to check that the file is intact.

  1. Type text or choose a file
  2. All hashes are calculated at once
  3. Copy a hash or compare it with a checksum
Loading the tool...

Your files never leave your device

What a hash is and how to use it

A hash is a short, fixed-length fingerprint calculated from data. The same input always gives the same hash, and even a one-character change gives a completely different one. Type text or choose a file and the tool calculates MD5 and the SHA family at once, so you can copy any of them.

Developers often publish a checksum next to a download. Paste it into the compare box and the tool tells you whether it matches and which algorithm it belongs to.

A worked example

Type the word hello in lowercase and the MD5 result is 5d41402abc4b2a76b9719d911017c592, which is 32 hexadecimal characters. Change it to Hello with a capital H and the whole hash changes, although only one letter differs.

To verify a download, open the File tab, choose the file and paste the published checksum. A match means the file is complete and unchanged. If nothing matches, download the file again.

Limits and good practice

Hashing is one-way, so a hash cannot be turned back into the text. MD5 and SHA-1 are no longer safe against deliberate tampering, so use them for catching damaged downloads, not for security. Use proper password hashing, not a plain hash, to store passwords.

The whole file is loaded into memory to be hashed, so files of several gigabytes may fail on phones. Hash lengths are fixed: MD5 has 32 hex characters, SHA-1 has 40, SHA-256 has 64 and SHA-512 has 128.

Frequently asked questions

What is a hash?

A short fixed-length fingerprint calculated from data. The same input always gives the same hash, and even a tiny change gives a completely different one.

How do I verify a downloaded file?

Choose the file, then paste the checksum published by the developer into the compare box. A match means the file is complete and unchanged.

Is my file uploaded?

No. The file is read and hashed on your device and never leaves it. Text you type is also hashed locally.

Which algorithm should I use?

SHA-256 is the common choice today. MD5 and SHA-1 are still used for checksums but are no longer secure against deliberate tampering.

Can a hash be reversed to get the text back?

No. Hashing is one-way. Short or common texts can still be guessed, so use proper password hashing for storing passwords.

Can I hash large files?

Yes, but the whole file is loaded into memory, so files of several gigabytes may fail on phones. A normal computer handles large files much better.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D