⚡
usefultools.dev
CRC

CRC Calculator – CRC-8, CRC-16 Modbus, CRC-32, CRC-64

NOUVEAU

CRC calculator for CRC-8, CRC-16 (Modbus, CCITT, XMODEM), CRC-32, CRC-32C and CRC-64 or custom parameters, from text or hex, with a C table generator. Free, in-browser.

Fonctionne à 100 % dans votre navigateur — vos données ne sont jamais envoyées ni stockées sur nos serveurs.

Cet outil n'est pas encore entièrement traduit : une partie du texte est encore en anglais. L'outil lui-même fonctionne de la même façon dans toutes les langues.

Parameters (Rocksoft model) — edit any field for a custom CRC
9 bytes
CRC-16/MODBUS
0x4B37
Decimal
19255
Binary
0100 1011 0011 0111
Bytes
big-endian 4B 37 · little-endian 37 4B

Check value (CRC of "123456789"): 0x4B37 ✓ matches the catalogue

Modbus RTU sends the CRC low byte first (little-endian).

All algorithms for this input
AlgorithmResultCheck
0xF40xF4
0xA10xA1
0xDF0xDF
0x4B0x4B
0xA10xA1
0x260x26
0x29B10x29B1
0x31C30x31C3
0x21890x2189
0x906E0x906E
0xD64E0xD64E
0x6F910x6F91
0x4B370x4B37
0xBB3D0xBB3D
0xB4C80xB4C8
0x44C20x44C2
0xEA820xEA82
0xCBF439260xCBF43926
0xE30692830xE3069283
0x0376E6E70x0376E6E7
0xFC8919180xFC891918
0x340BC6D90x340BC6D9
0x765E76800x765E7680
0x3010BF7F0x3010BF7F
0x6C40DF5F0B4973470x6C40DF5F0B497347
0x995DC9BBDF1939FA0x995DC9BBDF1939FA
0x62EC59E3F1A4F00A0x62EC59E3F1A4F00A
0xB90956C775A410010xB90956C775A41001

Parameters and check values from the CRC RevEng catalogue of parametrised CRC algorithms; each check value is recomputed here.

⚡

Exemples rapides

Des entrées typiques et les résultats produits par cet outil.

Check
CRC-32 of "123456789"
0xCBF43926
Hex
CRC-16/MODBUS of 01 03 00 00 00 01
0x0A84 (sent 84 0A)
Check
CRC-16/CCITT-FALSE of "123456789"
0x29B1
Text
CRC-32 of "Hello"
0xF7D18982
Text
CRC-8 of "Hello"
0xF6
📖

Présentation

A cyclic redundancy check is the checksum used by Modbus, Ethernet, ZIP files, SD cards, 1-Wire sensors and countless serial protocols. The catch is that "CRC-16" is not one algorithm: width, polynomial, initial value, bit reflection and final XOR all change the result. This CRC calculator includes 28 named variants from 8 to 64 bits with their standard parameters, plus fully custom parameters for anything else.

Paste text (encoded as UTF-8) or hex bytes from a logic analyser, and get the CRC in hex, decimal and binary with the byte order to transmit. Every algorithm shows its check value for the string 123456789, so you can confirm you picked the same variant as your datasheet, and a comparison table runs all variants at once when you need to identify an unknown CRC.

For firmware, the tool generates a ready-to-paste C lookup table and function. All processing happens in your browser.

Pourquoi utiliser cet outil ?

  • 28 named CRC variants with verified check values
  • Custom width, poly, init, reflection and XorOut
  • Text or hex byte input with clear errors
  • Find an unknown CRC with the all-variants table
  • C lookup table code for your firmware
⭐

Fonctionnalités

📚

Named catalogue

CRC-8 (SMBus, Maxim 1-Wire, AUTOSAR, SAE J1850), CRC-16 (Modbus, CCITT-FALSE, XMODEM, Kermit, X-25, USB), CRC-32, CRC-32C, MPEG-2, CRC-64/XZ, ECMA-182 and more.

🛠️

Custom parameters

Any width from 1 to 64 bits with your own polynomial, init, RefIn, RefOut and XorOut.

✅

Check values

The CRC of "123456789" is recomputed and compared with the catalogue for every variant.

🔢

Hex, decimal, binary

Results in all three bases plus big-endian and little-endian byte order.

🔍

Identify a CRC

Run every catalogue algorithm on the same data and spot the one that matches your device.

💾

C code generator

Generate a 256-entry lookup table and function in C99, copy it or download a .c file.

🛠️

Mode d'emploi

1

Pick the algorithm

Choose a named CRC from the list, or edit any parameter field to define a custom one.

2

Enter the data

Select Text or Hex and paste your data; spaces, commas and 0x prefixes are ignored in hex.

3

Read the CRC

Copy the result in hex, decimal or binary and note the byte order your protocol sends.

4

Generate code

Press Generate C lookup table to get matching firmware code, then copy or download it.

🤔

Questions fréquentes