Hash Generator and Checksum Checker

Get the fingerprint of any text or file in five common algorithms at once, and check a download against the checksum its publisher lists.

  • Files stay on your device
  • Free, no sign-up
  • Instant

Processed on your device. Your files are not uploaded to any server.

Quick guide · 4 steps

How to use the Hash Generator (MD5, SHA-256)

When to use the Hash Generator (MD5, SHA-256)

Verifying downloads

Check that a downloaded installer or ISO matches the checksum on the publisher’s site.

Detecting changes

Compare hashes of two files to know instantly whether they are identical.

Development and APIs

Create hashes for cache keys, ETags or test vectors.

Record keeping

Store a file’s hash to prove later that it has not been altered.

Features and benefits

  • MD5, SHA-1, SHA-256, SHA-384 and SHA-512 together
  • Text or files of any type (up to about 1.5 GB)
  • Hex (lower or upper case) or Base64 output
  • Automatic checksum comparison

Example

Input
Text: hello
Output
MD5 5d41402abc4b2a76b9719d911017c592
SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824

How the Hash Generator (MD5, SHA-256) works

For text, ConvertNest encodes your input as UTF-8 bytes. For files, it reads the whole file into memory. SHA-1 and the SHA-2 family are computed with the browser’s Web Crypto API, which is fast and standards-compliant; MD5, which Web Crypto does not offer, is calculated with a small built-in implementation of RFC 1321. Results are shown as hexadecimal or Base64, and a pasted checksum is compared with every result.

A real-life example

Tariq downloads a Linux installer from a mirror site and wants to be sure it was not tampered with. The official download page lists a SHA-256 checksum. He drops the 2 GB file here – too large – so he uses a smaller verification build instead, pastes the official checksum into “Compare with” and sees the green “Match” line next to SHA-256.

Good to know

A hash function turns any amount of data into a short, fixed-length fingerprint. Change a single byte and the hash changes completely, which is why software publishers list hashes (checksums) next to downloads: if your file’s hash matches, the file is exactly the one they published.

SHA-256 and SHA-512 are the modern standards. MD5 and SHA-1 are still widely used as checksums but are broken for security purposes – attackers can create different files with the same hash – so never use them for passwords or signatures.

Hashes here are calculated with your browser’s Web Crypto API (SHA family) and a built-in MD5 implementation. Files are read on your device and never uploaded.

Tips for the best results

  1. Copy checksums from the official site, not from the mirror you downloaded from.
  2. Use SHA-256 or stronger whenever you have the choice.
  3. Watch for a trailing space or line break in text you hash.
  4. Hash files on a computer for large downloads.

Common mistakes to avoid

Using MD5 for security

MD5 is broken for security. Use it only as a quick checksum.

Hashing passwords for storage

Use bcrypt, scrypt or Argon2 instead of plain hashes.

Comparing different algorithms

An MD5 checksum will never match a SHA-256 value.

Hash Generator (MD5, SHA-256) – frequently asked questions

Can I “decrypt” a hash?

No. Hashing is one-way. Short, common inputs can sometimes be guessed, but the hash itself cannot be reversed.

Should I store passwords as SHA-256?

No. Use a slow password-hashing function such as bcrypt, scrypt or Argon2 on your server.

Why does my hash differ from another tool?

Check for extra spaces or a line break at the end of your text – they change the hash.

How large a file can I hash?

Files up to about 1.5 GB, depending on your device memory.

What is a checksum?

A short value calculated from data, used to check that the data has not changed.

Why are hashes always the same length?

Each algorithm produces a fixed size: MD5 128 bits, SHA-256 256 bits, SHA-512 512 bits.