Binary to ASCII Converter – Free

This binary to ASCII converter reads groups of eight bits as character codes and returns the matching ASCII text. Any byte above 127 is rejected, which makes the tool a quick check for pure ASCII data.

How to use the Binary to ASCII tool

  1. Paste the bits into the Binary bytes box. Spaces between bytes are optional.
  2. Select Convert. Each group of eight bits is looked up as one ASCII code.
  3. Read the decoded characters in the Result box.
  4. Select Copy to take the text, or Example to decode the two sample bytes 01000001 01000010.

How binary maps to ASCII characters

ASCII is a 7-bit code with 128 values, published as ANSI X3.4 and described for network use in RFC 20. Codes 0 to 31 and 127 are control characters such as tab and line feed. Codes 32 to 126 are the 95 printable characters: space, digits, letters and punctuation. Computers store each code in an 8-bit byte with the top bit set to 0.

The table has a regular layout that you can read straight from the bits. Digits start at 00110000, so the low four bits of a digit character are its value. Uppercase letters start at 01000001 and lowercase at 01100001. A letter and its other case differ only in the bit worth 32.

Worked example: decoding five bytes

Take 01001000. Its set bits are worth 64 and 8, so the code is 72, the letter H. The next byte 01100101 is 64 + 32 + 4 + 1 = 101, a lowercase e. Carrying on through the remaining bytes gives l, l and o.

01001000 01100101 01101100 01101100 01101111  ->  Hello
01000001 01000010  ->  AB
00110100 00110010  ->  42

Input the converter accepts and rejects

The input is cleaned, checked for length, split into bytes and then checked against the ASCII range.

  • Spaces, tabs and line breaks are ignored, so one long run of bits works as well as spaced bytes.
  • The total must be a multiple of eight bits. If not, the message is: Enter complete bytes, using eight bits per byte.
  • A byte whose first bit is 1 stops the conversion with: Each byte must be in the ASCII range from 0 to 127.
  • One 0b prefix at the start is allowed. A prefix on every byte, commas or other separators are not.
  • Up to 65,536 bits, which is 8,192 characters, can be decoded in one run.

ASCII only, by design

Because bytes of 128 and above are refused, a successful result tells you the data is plain ASCII. That is useful when checking protocol fields, HTTP header values or serial output that must stay within 7 bits.

Accented letters, currency signs beyond the dollar, and emoji are not ASCII. In UTF-8 they are encoded as two to four bytes that all have the top bit set. Use the Binary to Text tool for those, since it decodes UTF-8.

Control codes are not filtered. A byte such as 00001010 puts a real line feed into the result, and 00001001 puts a tab, so the output can contain characters you cannot see.

Frequently asked questions

How do I convert binary to ASCII by hand?

Split the bits into groups of eight, add up the place values of the 1 bits in each group to get a number from 0 to 127, and look that number up in an ASCII table. 01000001 is 64 + 1 = 65, the letter A.

Why does the tool say each byte must be in the ASCII range?

At least one 8-bit group starts with 1, so its value is 128 or more. Either the data is UTF-8 or another 8-bit encoding, or the bits are misaligned because a digit is missing or duplicated earlier in the input.

Can I paste 7-bit ASCII codes?

Not directly. The tool cuts the input into groups of eight, so 7-bit groups would be misread. Add a leading 0 to each 7-bit code first, turning 1000001 into 01000001.

Do I need a space between bytes?

No. Whitespace is removed before decoding, and the bits are split every eight digits counting from the left. Spaces only help you read the input.

What is the difference between ASCII and UTF-8 in binary?

For codes 0 to 127 the bytes are identical, which is why ASCII text is valid UTF-8. UTF-8 adds multi-byte sequences for other characters, and every byte in those sequences has its top bit set.

Related tools