Toolstia / CRC-16 checksum calculator

CRC-16 checksum calculator

CRC-16 is a short checksum used in serial protocols, Modbus devices, firmware and file formats. Enter text or hex bytes and see the result for seven popular variants at once.

Different CRC-16 variants use different settings, so the same data gives different values. CCITT-FALSE, XMODEM and KERMIT use the 0x1021 polynomial, and MODBUS, ARC and USB use 0x8005. Check your device documentation to see which one it uses. The test text 123456789 gives 29B1 for CCITT-FALSE and 4B37 for MODBUS.

How it works

  1. Choose whether your input is text or hex bytes.
  2. Type or paste the data.
  3. Read the checksum for each variant and copy the one you need.

Why there are many variants

CRC-16 is a family. Variants differ in polynomial, starting value, whether bits are reflected and a final XOR. Using the wrong one gives a different number for the same data.

Variants included

CCITT-FALSE, XMODEM, KERMIT, MODBUS, ARC (IBM), X-25 and USB.

Check value

The standard test text 123456789 gives 29B1 for CCITT-FALSE, 31C3 for XMODEM, 4B37 for MODBUS and BB3D for ARC, so you can confirm you chose the right variant.

Hex input

Hex bytes can be separated by spaces, commas, colons or 0x prefixes, for example 01 03 00 00 00 0A.

Questions

Is my data sent anywhere?

Everything happens in your browser, and nothing you enter is sent anywhere.

What is the byte order of a MODBUS CRC?

The CRC value is sent low byte first on the wire, so 4B37 is sent as 37 4B.

Is CRC secure?

No. It detects accidental errors but is not a security hash. Use SHA-256 for integrity against attackers.