A little context. A clearer answer.
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
| Input | What it means | Example value |
|---|---|---|
| UTF-8 / hex | UTF-8 / hex: UTF-8 text in JSON quotes / hex · 00…FF | UTF-8 text in JSON quotes |
| Text | 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. | "123456789" |
How the calculation works
- 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/ISO-HDLC: width32; poly0x04C11DB7; init0xFFFFFFFF; refin=true; refout=true; xorout0xFFFFFFFF; reflected poly0xEDB88320
- 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.
CRC-32/ISO-HDLC: width32; poly0x04C11DB7; init0xFFFFFFFF; refin=true; refout=true; xorout0xFFFFFFFF; reflected poly0xEDB88320A 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 enterThis 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.