Free Online Tool
Hamming Code
Generate error-detecting and correcting Hamming codes.
How to Use Hamming Code
- Choose Binary input and Encode mode.
- Enter bits; the component processes them in four-bit chunks and pads the last chunk on the right.
- Leave Extended Hamming off for the 7-bit outputs shown below.
- Switch to Decode to extract data bits and correct a reported single-bit error.
Hamming(7,4) places three even-parity bits around four data bits. A three-bit syndrome identifies one erroneous bit position.
Examples
One four-bit block:
1010
Output:
1010 → 1011010
Two four-bit blocks:
11110000
Output:
1111 → 1111111 0000 → 0000000
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.