Free Online Tool

BCH Code

Create BCH cyclic error-correcting codes.

How to Use BCH Code

  1. Choose Text or Binary input; Text is the default.
  2. In Text mode, each byte is split into two four-bit nibbles.
  3. The encoder appends three parity bits to each nibble with generator polynomial 1011.
  4. Use Decode to reconstruct paired codewords and report corrected single-bit errors.

The current implementation is a compact BCH(7,4) cyclic code. Each 4-bit block becomes a 7-bit codeword, and the decoder uses a syndrome lookup for one-bit correction.

Examples

Text mode — input:

A

Output:

0110001 0001011

Text mode — input:

BCH

Output:

0110001 0011101 0110001 0011101 0110001 1101001

Features

Privacy Focused

All processing happens in your browser. No data is sent to servers.

Free Forever

No registration, no limits, completely free to use.