⊕ XOR / BCC Checksum Calculator
Compute XOR/BCC and Sum8/Sum16-BE/LE checksums with text/hex/Base64 input, configurable init value, byte range, step-by-step trace, verification and batch mode
Input mode
HEX accepts "48 65", "0x48,0x65", "\x48", newlines and # / // line comments
0 bytes recognized
XOR Init Value
Applies to XOR/BCC only; Sum algorithms are unaffected.
Leave empty to use all bytes. Indices are 0-based.
Output Format
Results (click to copy)
⚠️ Odd byte count; Sum16 padded with a trailing 0x00 for computation.
🔍 Step-by-step trace (XOR)
| # | Byte | Acc (before) | Acc (after) |
|---|
After you enter valid bytes, each XOR step will appear here.
Showing first 512 rows; full computation is unaffected.
✓ Verify against expected (optional)
📋 Batch mode (one group per line)
| # | Input | XOR | Sum8 | Sum16-BE | Sum16-LE |
|---|
Online XOR / BCC checksum calculator that simultaneously computes XOR/BCC, Sum8, Sum16-BE and Sum16-LE (the non-polynomial checksum family), with text, hex and Base64 input. Configure the XOR init value (0x00, 0xFF or custom), restrict computation to a byte range, inspect the step-by-step trace, verify against an expected value and run batch mode. Switch output format between hex, HEX, DEC, BIN, CHAR with an optional 0x prefix. All computation runs locally in your browser, making it ideal for Modbus RTU, serial protocol debugging and GPS NMEA checksum verification.