The Hamming(7,4) code encodes 4 data bits into 7 bits using 3 parity bits. It can detect up to 2 errors and correct any single-bit error. Click the codeword bits to flip them and watch the syndrome-based correction.