Skip to main content
TestrHub home
Menu

Hash Generator

Hash text or files with SHA-256, SHA-512, SHA-1, MD5 and CRC-32 at once, and check a download against its checksum. Files are never uploaded.

Runs in your browser. Nothing is uploaded.

Show as
Use a secret key (HMAC)

With a key, the SHA results become HMACs: only someone with the same key can produce them. MD5 and CRC-32 are left out.

Hashes

Type some text or choose a file.

SHA-256 Recommended
–
SHA-512
–
SHA-384
–
SHA-1 Not for security
–
MD5 Not for security
–
CRC-32 Error check only
–

Hashed in your browser: the text or file is never sent or kept.

Check a checksum

Paste the checksum given on the download page, in any form: the right algorithm is found for you. Case and spaces do not matter.

Results

What a hash is

A hash, or checksum, is a short fingerprint computed from a text or a file. The same content always gives the same hash, and the smallest change, even one letter or one byte, gives a completely different one. You cannot go back from the hash to the content.

This generator computes the most common hashes of a text or a file at once and checks them against the checksum a website gives you. Everything happens in your browser: files are read on your device and never uploaded.

The hash generator after reading an example file of 3.1 MB: its SHA-256, SHA-512, SHA-384, SHA-1, MD5 and CRC-32 listed with Copy buttons, MD5 and SHA-1 marked as not for security, and below the checksum check saying the pasted value is the SHA-256 of the file.

On the screenshot, with a file made just for it:

  1. The file, dropped on the page or chosen. It stays on your device.
  2. SHA-256, the hash to use today.
  3. MD5, still published by some sites but no longer safe against tampering.
  4. The checksum check: here the value from a download page matches.

Checking a download

Many download pages publish a checksum next to the file, often a SHA-256. To check that your copy is complete and has not been altered:

  1. Choose File and drop the downloaded file on the page.
  2. Copy the checksum from the download page and paste it in Check a checksum.
  3. The tool finds which algorithm it is and says Match or No match.

No match usually means the download was interrupted or damaged, or that you have a different version of the file. Download it again from the official site.

Which algorithm?

  • SHA-256 is today’s standard: use it when you have the choice. SHA-512 and SHA-384 belong to the same family, with longer results.
  • SHA-1 and MD5 are old. Researchers can create two different files with the same MD5 or SHA-1, so they no longer prove that nobody tampered with a file. They are still fine for spotting accidental damage, and many older sites still publish them.
  • CRC-32 is a quick error check used inside ZIP and PNG files. It catches transmission errors but offers no security at all.

Hashing is not encryption

Encryption can be undone with a key; a hash cannot be undone at all. Base64 is neither: it only rewrites data and anyone can decode it. A hash with a secret key, called an HMAC, proves that a message comes from someone who knows the key. Webhooks and APIs often use one: open “Use a secret key (HMAC)” to compute it.

Passwords

Do not store passwords as plain SHA-256 or MD5 hashes: these are designed to be fast, so a computer can try billions of guesses a second. Password storage needs slow algorithms made for it, such as Argon2, scrypt or bcrypt, which your programming language provides. To check whether a password has appeared in a data breach, use the password breach check.

Frequently asked questions

Why is my hash different from the one I expected?

Usually because the content is not exactly the same. A space, a capital letter or a line break at the end changes everything: text editors and some commands add a final line break, which is why the option to ignore it is there. For files, make sure you compare the same version.

Is there a size limit?

Files up to 2 GB can be hashed, depending on the memory of your device. Larger files are refused with a message.

Is my file uploaded?

No. The file is read by your browser on your device, and nothing is kept when you close the page.

Last updated: November 7, 2026

Guides about this test