calculator.onl
Categories50

CRC-32/ISO-HDLC checksum calculator

Calculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps.

A worked example

Change one byte from 0x41 to 0x42 and compare the eight checksum digits.

CRC-32 · hex0xCBF43926CRC-32 · Decimal3421780262Byte count9
UTF-8 / hex: UTF-8 text in JSON quotes / hex · 00…FF

Calculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

CRC-32 · hex

0xCBF43926

Calculated from your inputs

CRC-32 · Decimal3421780262
Byte count9
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Calculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps. For a related calculation, try Bitwise calculator: AND, OR, XOR and shifts.

What to enter

InputWhat it meansExample value
UTF-8 / hexUTF-8 / hex: UTF-8 text in JSON quotes / hex · 00…FFUTF-8 text in JSON quotes
TextCalculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps."123456789"

How the calculation works

  1. Calculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps.
  2. CRC-32/ISO-HDLC: width32; poly0x04C11DB7; init0xFFFFFFFF; refin=true; refout=true; xorout0xFFFFFFFF; reflected poly0xEDB88320
  3. Maximum 8192 bytes; no Unicode normalization. Select only CRC-32/ISO-HDLC, not CRC-32C. CRC is not a cryptographic hash. Share contains the checksum, never the input data.
The formulaCRC-32/ISO-HDLC: width32; poly0x04C11DB7; init0xFFFFFFFF; refin=true; refout=true; xorout0xFFFFFFFF; reflected poly0xEDB88320

A worked example

"123456789" (UTF-8) = hex 31 32 33 34 35 36 37 38 39 → 0xCBF43926 = 3421780262; 9 Byte count. "" → 0x00000000; 0 Byte count.

Example you can load

What to enter
Result for this example · CRC-32 · hex0xCBF43926

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Maximum 8192 bytes; no Unicode normalization. Select only CRC-32/ISO-HDLC, not CRC-32C. CRC is not a cryptographic hash. Share contains the checksum, never the input data.

Frequently asked questions

UTF-8 text in JSON quotes?

Calculate a CRC from a JSON-quoted UTF-8 string or complete hexadecimal byte pairs. JSON quotes preserve leading spaces and escapes such as \n. Inspect the first 16 byte steps.

CRC-32 · hex?

CRC-32/ISO-HDLC: width32; poly0x04C11DB7; init0xFFFFFFFF; refin=true; refout=true; xorout0xFFFFFFFF; reflected poly0xEDB88320

Byte count?

Maximum 8192 bytes; no Unicode normalization. Select only CRC-32/ISO-HDLC, not CRC-32C. CRC is not a cryptographic hash. Share contains the checksum, never the input data.