TOOL / AUTOMOTIVE / CRC-CALCULATOR

CRC Calculator (CRC-8/16/32)

Compute CRC-32, CRC-16/ARC, CRC-16/MODBUS, CRC-16/CCITT-FALSE and several CRC-8 variants locally in your browser.

Runs locally Automotive Electronics 校验与安全 #crc 计算器#crc32 online#crc8 sae j1850
LIVE WORKBENCH / crc-calculator

Sample input is pre-filled and editable. Everything runs locally in your browser — nothing is uploaded.

Spaces, commas and 0x prefixes are accepted. Everything runs locally.
CRC result0xCBF43926
Decimal3421780262
Bytes9 · 31 32 33 34 35 36 37 38 …
Self-check (123456789)0xCBF43926 ✓
FAQ

FAQ

Why do different tools return different CRCs for the same data?

A CRC is defined by five parameters — width, polynomial, initial value, input/output reflection and final XOR. Same name with different parameters means a different checksum.

Which preset is for Modbus RTU?

Pick CRC-16/MODBUS (init 0xFFFF). CRC-16/ARC has the same polynomial but init 0x0000, so the result differs.

Can I checksum a file?

The current version accepts hex bytes and text. File drop support is planned.

How to use

The article body below is currently available in full only in Chinese; the interface, titles, descriptions and FAQ follow your selected language.

  1. 选择输入格式:十六进制 逐字节输入(支持空格、逗号、0x 前缀,每个字节必须写满两位),或 文本 按 UTF-8 编码参与计算。
  2. 选择算法。默认 CRC-32,用于 ZIP/PNG/以太网;E2E 保护常用 CRC-8 系列;Modbus RTU 请用 CRC-16/MODBUS。
  3. 结果区同时给出 HEX、十进制、参与计算的字节数与一次算法自检(用同一实现计算 123456789 并与该算法公开的 check 值比对,用于发现参数录入错误,不是第三方认证)。

常用参数对照

算法多项式初值反射异或值check (123456789)典型用途
CRC-32/ISO-HDLC0x04C11DB70xFFFFFFFF是0xFFFFFFFF0xCBF43926以太网 / ZIP / PNG
CRC-16/ARC (IBM)0x80050x0000是0x00000xBB3DARC / IBM SDLC
CRC-16/MODBUS0x80050xFFFF是0x00000x4B37Modbus RTU
CRC-16/CCITT-FALSE0x10210xFFFF否0x00000x29B1XMODEM
CRC-8/SAE-J1850 (reveng 模型)0x1D0xFF否0xFF0x4B通用字节校验模型
CRC-8 (poly 0x2F, AUTOSAR E2E Profile 2)0x2F0xFF否0xFF0xDFAUTOSAR E2E

注意:CRC-8/SAE-J1850 这里是 reveng/参数模型(含最终 XOR 0xFF)。经典 CAN 帧内的 15 位 CRC 是另一套算法(初值、位序列与填充位参与方式都不同),不能用这里的 8 位结果代替。check 值来自各算法的公开定义,结果区的自检会用同一实现复算一次。

NEXT / RELATED TOOLS

Related tools

ALL IN SECTOR ↗