How to convert binary to text

Binary text conversion groups bits into bytes, changes each 8-bit group to a number, and decodes the resulting byte sequence with a character encoding.

Open the Binary to Text tool

Start with complete 8-bit bytes

Each byte contains eight binary digits. Spaces between bytes make the boundaries clear. For ASCII text, one byte maps to one character. UTF-8 can use two, three, or four bytes for a single Unicode character.

Worked example

01000011 01100001 01110100

The byte values are 67, 97, and 116. UTF-8 and ASCII both decode them as Cat.

How to convert binary to text

  1. Split the input into groups of exactly eight bits.
  2. Reject any group containing a character other than 0 or 1.
  3. Convert each group from base 2 to a byte value from 0 to 255.
  4. Decode the complete byte sequence as UTF-8.

The ToolPixels Binary to Text tool accepts whitespace-separated bytes, validates every group, and reports invalid UTF-8 instead of guessing.

Why some characters use several bytes

The letter A is UTF-8 byte 01000001. A character such as é uses two bytes: 11000011 10101001. Decoding either byte alone does not produce the intended character because the leading bits describe a multi-byte sequence.

This is why binary should be decoded as a complete byte stream, not by assigning one visible character to every group.

Diagnose a failed conversion

  • A seven- or nine-bit group has the wrong width.
  • A digit such as 2 is not binary.
  • Bits were lost when text wrapped or was copied.
  • The bytes use an encoding other than UTF-8.
  • The data is a file or compressed payload, not text.

Leading zeroes matter. Binary 00001010 is a newline byte; shortening it to 1010 breaks the required byte format.

Common questions

Can binary bytes touch each other?

A decoder can sometimes divide a continuous string whose length is a multiple of eight, but explicit spaces make errors easier to spot. ToolPixels supports whitespace separators.

Is binary the same as ASCII?

No. Binary is a number representation. ASCII and UTF-8 define how byte values correspond to text.

Decode binary bytes