Free Online Tool
BCH Code
Create BCH cyclic error-correcting codes.
How to Use BCH Code
- Choose Text or Binary input; Text is the default.
- In Text mode, each byte is split into two four-bit nibbles.
- The encoder appends three parity bits to each nibble with generator polynomial 1011.
- 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.