CRC Calculator – CRC-8, CRC-16 Modbus, CRC-32, CRC-64
NOVOCRC 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.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
- 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
| Algorithm | Result | Check |
|---|---|---|
| 0xF4 | 0xF4 | |
| 0xA1 | 0xA1 | |
| 0xDF | 0xDF | |
| 0x4B | 0x4B | |
| 0xA1 | 0xA1 | |
| 0x26 | 0x26 | |
| 0x29B1 | 0x29B1 | |
| 0x31C3 | 0x31C3 | |
| 0x2189 | 0x2189 | |
| 0x906E | 0x906E | |
| 0xD64E | 0xD64E | |
| 0x6F91 | 0x6F91 | |
| 0x4B37 | 0x4B37 | |
| 0xBB3D | 0xBB3D | |
| 0xB4C8 | 0xB4C8 | |
| 0x44C2 | 0x44C2 | |
| 0xEA82 | 0xEA82 | |
| 0xCBF43926 | 0xCBF43926 | |
| 0xE3069283 | 0xE3069283 | |
| 0x0376E6E7 | 0x0376E6E7 | |
| 0xFC891918 | 0xFC891918 | |
| 0x340BC6D9 | 0x340BC6D9 | |
| 0x765E7680 | 0x765E7680 | |
| 0x3010BF7F | 0x3010BF7F | |
| 0x6C40DF5F0B497347 | 0x6C40DF5F0B497347 | |
| 0x995DC9BBDF1939FA | 0x995DC9BBDF1939FA | |
| 0x62EC59E3F1A4F00A | 0x62EC59E3F1A4F00A | |
| 0xB90956C775A41001 | 0xB90956C775A41001 |
Parameters and check values from the CRC RevEng catalogue of parametrised CRC algorithms; each check value is recomputed here.
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
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.
Por que usar esta ferramenta?
- 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
Recursos
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.
Como usar
Pick the algorithm
Choose a named CRC from the list, or edit any parameter field to define a custom one.
Enter the data
Select Text or Hex and paste your data; spaces, commas and 0x prefixes are ignored in hex.
Read the CRC
Copy the result in hex, decimal or binary and note the byte order your protocol sends.
Generate code
Press Generate C lookup table to get matching firmware code, then copy or download it.