Format Code Now
/

Checksum Calculator

HG-20

Paste a text and see nine checksums of it side by side: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, CRC-32 and Adler-32.

Runs in your browser. Nothing is uploaded.

Text (checksummed as UTF-8). For Verify: the text, a line with only =====, then the expected checksum in hex

Checksums

How to use it

  1. Type or paste your text into the box. Sample loads the quick brown fox sentence.
  2. Press Calculate all to list the nine checksums, one per line, in hex.
  3. To check a value you were given, write the text, then a line with only =====, then the checksum, and press Verify against a checksum.
  4. Tick UPPERCASE hex if you need capitals, or Ignore one trailing line break if your text ends in a newline you do not want counted.

What is listed and what it is for

MD5 and SHA-1 appear because many download pages still publish them, but both are broken for security, so they only tell you about accidental damage. SHA-256 and SHA-512 are the usual choices for checking integrity, and SHA3-256 is the newer FIPS 202 alternative. CRC-32 and Adler-32 are short checks used inside file formats such as zip and zlib; they catch accidental errors and are not safe against tampering. All nine are computed from your text as UTF-8.

How Verify works

Verify takes the text above the ===== line and a hex checksum below it. It computes all nine checksums and reports which ones equal the value you gave, for example Match: MD5. It compares the whole value, ignoring case, spaces, colons and a leading 0x, and it does not accept a shortened value. If nothing matches, it says so and lists the algorithms it tried, which can mean the text differs by a space or line break.

Text, not files

This page checksums the text you type or open, exactly as typed. A file saved with different line endings or a different encoding would give another checksum than the same words pasted here, and the page does not read raw bytes of a binary file. For a file download, use the checksum tool that comes with your operating system, and use this page to compare short texts.

Error messages and what to do

MessageWhat it meansFix
Put the text first, then a line with only =====, then the checksum to check it against.Verify needs the text and the expected checksum in the same box.Add a line holding only five equals signs between the text and the checksum.
The checksum must be hex: use only 0-9 and a-f (spaces and colons are ignored).The value below the ===== line has a character that is not hex.Copy the checksum again and check it has only 0-9 and a-f.

Questions people ask

What is a checksum?

A checksum is a short value computed from data. If the data changes, the checksum almost always changes, so comparing two checksums tells you whether two copies are the same. Hash functions such as SHA-256 give strong checksums; CRC-32 gives a short one for spotting accidental errors.

How do I verify a checksum I was given?

Write the text, add a line with only =====, then paste the checksum and press Verify against a checksum. The page reports which algorithms produce exactly that value. No match often means a different line ending or a trailing space.

Which checksum should I use?

For integrity against tampering, use SHA-256 or SHA-512. MD5 and SHA-1 are fine for spotting accidental corruption but are broken for security. CRC-32 and Adler-32 are only for catching errors in transit, not for protecting against someone altering data.

Why does my checksum not match the one on a download page?

The usual causes are a different file, a different hash algorithm, or comparing text with a file. This page hashes typed text as UTF-8, so a file with other line endings or a binary file will not match the same words pasted here.

Are the checksums case sensitive?

Hex checksums are the same value in upper or lower case. The list is lowercase by default and uppercase with the option ticked, and Verify ignores case when comparing, so either way of writing the value will match.

About this tool

One text gives nine values: MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, CRC-32 and Adler-32, all in hex. MD5 and SHA-1 are broken for security and are listed because many download pages still publish them; CRC-32 and Adler-32 only catch accidental damage. "Verify" takes the text, a line holding only =====, then a checksum in hex, and reports which of the nine algorithms produce exactly that value (it compares the whole value, case-insensitively, and does not accept a shortened one). The text is hashed exactly as typed, as UTF-8 (a lone surrogate half becomes U+FFFD first), so a trailing line break or a space changes the result; "Ignore one trailing line break" removes one. It hashes text, not files: a file saved with different line endings would give a different hash than the same words typed here.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.