← ← All Tools

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

🔒 All computation runs locally in your browser. Input data is not uploaded by the tool.

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)

XOR / BCC (8-bit)
Sum8
Sum16-BE (big-endian pairs)
Sum16-LE (little-endian pairs)
🔍 Step-by-step trace (XOR)
# Byte Acc (before) Acc (after)

After you enter valid bytes, each XOR step will appear here.

✓ Verify against expected (optional)
📋 Batch mode (one group per line)

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.