Skip to content

Binary to Text Converter

Decode binary byte groups into readable UTF-8 text instantly. Paste 8-bit byte groups with spaces, commas, new lines, or one continuous binary string.

Byte separator:
Characters5
Bytes5
Bits40
EncodingUTF-8

Decoding Binary Bytes

Binary-to-text conversion works only when the input can be split into complete bytes. This page validates each 8-bit group, decodes the bytes as UTF-8, and shows an error when the sequence cannot represent readable text.

Code Examples

function binaryToText(binary) {
  const bytes = binary.trim().split(/[^01]+/).map((part) => parseInt(part, 2));
  return new TextDecoder().decode(new Uint8Array(bytes));
}

Frequently Asked Questions

How do I convert binary to text?

Split the binary string into 8-bit bytes, convert each byte to its decimal value, then decode those byte values as text. The bytes 01001000 01101001 decode to Hi.

Why does invalid binary fail?

Readable text needs complete 8-bit bytes. A group with fewer or more than 8 bits cannot be decoded reliably, and some byte sequences are not valid UTF-8.

Can this decode ASCII binary?

Yes. ASCII binary is valid UTF-8 for values 0 through 127, so common ASCII byte strings decode correctly.

Related Tools