HomeMath › Binary to Text Converter

Binary to Text Converter

Decode binary into readable text. Paste 8-bit binary bytes separated by spaces, or one continuous string of 0s and 1s, to get the ASCII text, the character count, and the decimal code of each byte.

Example: with Binary 01001000 01101001 → Decoded text: Hi.

  • Characters2 characters
  • Decimal codes72 105

Computed by the calculator below using its default values. Change any input to see your own numbers.

Decoded text
Characters
Decimal codes

Each group of 8 bits is one byte, read as a number from 0 to 255 and matched to its ASCII character. Spaces between bytes are optional; a continuous string is split into 8-bit chunks.

From bytes back to letters

Computers store text as numbers. Standard ASCII assigns each character a code from 0 to 127, and those codes are written in binary as 8-bit bytes, so 01001000 is 72, the capital letter H. Decoding just reverses that: read each byte as a binary number, then look up the character it stands for.

The only formatting question is where one byte ends and the next begins. Spaced input makes it obvious, but a continuous run of 0s and 1s works too as long as its length is a multiple of 8, since the string is sliced into 8-bit pieces. Non-binary characters are stripped out, so stray punctuation will not break the decode.

How it’s calculated

Everything except 0, 1 and whitespace is removed. If the input has spaces, each token is treated as one byte; a single unbroken string is split into 8-bit groups. Each byte is parsed as base-2 into a code point and mapped with String.fromCharCode. The decimal codes are listed for reference.

Assumes 8-bit ASCII / Latin-1 bytes. Multi-byte UTF-8 sequences are decoded byte by byte and may not reproduce the original character.

Common characters in binary

CharacterBinary (8-bit)Decimal
A0100000165
H0100100072
a0110000197
00011000048
(space)0010000032

ASCII code points, written as 8-bit binary.

Common mistakes

  • Using groups that are not 8 bits, which shifts every following character.
  • Dropping a leading zero from a byte, turning 01001000 into a wrong 7-bit value.
  • Mixing spaced and continuous formats in one string.
  • Expecting readable text from random bytes — only valid code points map to printable characters.

Frequently asked questions

How do I convert binary to text?

Split the binary into 8-bit bytes, read each byte as a number, and match that number to its ASCII character. 01001000 is 72, which is H.

Does the binary need spaces between bytes?

No. Spaced bytes are easiest, but a continuous string works if its length is a multiple of 8, because it is cut into 8-bit groups.

What is the decimal codes line?

It shows the number each byte represents, from 0 to 255. Those are the ASCII code points that map to the decoded characters.

Why did I get odd symbols instead of letters?

The bytes decode to control characters or values outside normal text, usually because the grouping is off or the data is not ASCII text.