CRC32 Calculator: CRC-32, CRC-32C, CRC-16 and CRC-8 of Text or Hex

This CRC32 calculator computes the CRC-32 checksum of any text or hex bytes and shows the result in hex, decimal and binary. It also handles CRC-32C, four CRC-16 variants and CRC-8, and it checks itself against the published value for the string 123456789.

Computing & Networking Tools Calculators

CRC32 Calculator

CRC-32 of any text or hex bytes, plus CRC-32C, CRC-16 (ARC, Modbus, CCITT-FALSE, XMODEM) and CRC-8, with byte order and a published check value.

Plain text (hashed as UTF-8) or hex bytes such as 48 65 6C 6C 6F.
Computed in your browser with the standard bitwise algorithm for each model. The self-test line runs the algorithm on the string 123456789 and compares it with the published check value.

Starting values: the calculator opens with the text Hello, World! and the CRC-32 (zlib, PNG, Ethernet) algorithm. The CRC-32 is EC4AC3D0 in hex.

What a CRC is

A cyclic redundancy check treats your data as one very long binary number, divides it by a fixed polynomial and keeps the remainder. The remainder is the check value. If a single bit changes in transit, the remainder almost always changes too, which is why CRCs are used to catch accidental corruption in files, network frames and storage. A CRC is not a cryptographic hash, so it should not be used to detect deliberate tampering.

Algorithms and the check value

CRC algorithms differ in their polynomial, starting value, bit order and final XOR. The standard way to confirm an implementation is to run it on the ASCII string 123456789 and compare with the catalogued check value. These are the values the calculator reproduces:

Algorithm Check value for 123456789
CRC-32 (zlib, PNG, Ethernet) CBF43926
CRC-32C (Castagnoli) E3069283
CRC-16/ARC BB3D
CRC-16/MODBUS 4B37
CRC-16/CCITT-FALSE 29B1
CRC-16/XMODEM 31C3
CRC-8 F4

The calculator’s self-test line runs 123456789 through the chosen algorithm and compares it with this published value, so you can see that the tool is using the right parameters before you trust a result on your own data.

Worked examples

Example 1: the default text

CRC-32 of Hello, World! (13 bytes of UTF-8 text) is EC4AC3D0, which is 3,964,322,768 in decimal. The same text with CRC-32C gives 4D551068, a different value because the polynomial is different.

Example 2: the check string

Entering 123456789 with the CRC-32 algorithm gives CBF43926. If you see that value, the settings are correct.

Example 3: hex input

To checksum raw bytes instead of text, enter them as hex pairs such as 31 32 33 34 35 36 37 38 39 and set Input is to Hex bytes. Those nine bytes are the same as the text 123456789, so CRC-32 returns CBF43926 again. That is a quick way to confirm that your hex and text modes agree.

Byte order

The calculator shows the CRC as little-endian and big-endian byte sequences. The CRC-32 value CBF43926 is the bytes CB F4 39 26 in big-endian order and 26 39 F4 CB in little-endian order. Different file formats and protocols store the CRC in different orders, so check which one your format expects.

Choosing the right variant

  • CRC-32 is the one used by zlib, gzip, PNG and Ethernet.
  • CRC-32C uses the Castagnoli polynomial and is used by some storage and network protocols.
  • CRC-16/MODBUS appears in Modbus serial frames, and CRC-16/CCITT-FALSE and XMODEM are common in embedded protocols.
  • CRC-8 is a short check for small packets.

If your result does not match a device’s, the most likely cause is a different variant, a different byte order, or the text encoding. The calculator hashes plain text as UTF-8, so non-ASCII characters are more than one byte each.

For simpler checks such as byte sums and Adler-32, use the checksum calculator.

Using a CRC in practice

A typical use is to append the CRC to a message, then recompute it on arrival. If the two values agree, the message is very likely intact. The calculator lets you do the receiving side by hand: paste the data you received, run the same algorithm, and compare with the CRC that came with it.

Example 4: spotting a single changed character

Change Hello, World! to Hello, World? and the CRC-32 changes completely, not by a small amount. That avalanche is what makes a CRC useful for catching accidental changes: even a one-character edit moves the value to an unrelated-looking number.

Example 5: reading the three output formats

For 123456789 the CRC-32 is CBF43926 in hex. In decimal that is 3,421,780,262, and the binary form is the same 32 bits written as 1100 1011 1111 0100 0011 1001 0010 0110. The three views describe the same number, so use whichever your tool or datasheet expects.

Example 6: comparing two tools

If your CRC-32 for the same text differs from another tool, run 123456789 in both. If both show CBF43926, the algorithms agree and the difference lies in the input, usually a trailing newline or a different encoding. A newline at the end of a text file is one extra byte, and it changes the whole CRC.

Frequently asked questions

What is the CRC32 of an empty string?

It is 00000000 with the standard CRC-32 algorithm, because the initial and final XOR values cancel out when no bytes are processed.

Is CRC32 the same as a hash like MD5?

No. A CRC detects accidental changes and is quick to compute, but it is not designed to resist deliberate tampering. Use a cryptographic hash for security.

Why does my CRC differ from another tool?

The tools may use different algorithm variants, byte orders or text encodings. Compare both tools on the string 123456789 to find the difference.

How do I enter hex bytes?

Set Input is to Hex bytes and enter the bytes separated by spaces, such as 48 65 6C 6C 6F.

What is the check value for CRC-32?

CBF43926, which is the CRC-32 of the text 123456789.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 754