Hamming (7,4) encoder

Client

Encode four data bits into a 7-bit Hamming codeword—parity layout shown in your browser.

Codeword: 0110011
Layout: p1 p2 d1 p4 d2 d3 d4

Nearby workflows on Toolcore

  • Hamming distanceCount differing positions between two equal-length strings—Hamming distance calculator in your browser. when the payload needs a different encoding or escape format.
  • Even parity bitAppend even parity bit to 7-bit ASCII binary string. when the payload needs a different encoding or escape format.
  • Text ↔ binaryConvert UTF-8 text to 0/1 bit strings and back—spaced bytes or continuous—in your browser. when the payload needs a different encoding or escape format.
  • CRC-8 checksumCRC-8 with polynomial 0x07 on UTF-8 bytes—local digest byte. when the payload needs a different encoding or escape format.

About this tool

Build a Hamming(7,4) codeword from four data bits—companion to the Hamming distance tool for error-detection learning.

Common use cases

  • Complete coding-theory homework on Hamming parity bit placement.
  • Compare encoded words before introducing single-bit error correction.

Common mistakes to avoid

  • Wrong bit count

    Exactly four data bits are required—no more, no less.

FAQ

Can this correct errors?

Encoding only—pair with Hamming distance to compare codewords.

Bit order?

Output order is p1 p2 d1 p4 d2 d3 d4 (standard Hamming layout).

Related utilities you can open in another tab—mostly client-side.