Skip to the tool
Binary Translator Free tools

Binary to ASCII converter

Binary to ASCII text, or ASCII text to binary: paste either and it works out which. Strict 7-bit ASCII is checked.

Updated · Written and checked by Murugan Vellaichamy

Waiting for input
Text
Binary
Try:

Byte by byte

Every byte of your input, with the place values that add up to it. Hover a row to find that byte in the output.

CharacterBinaryPlace valuesDecimalHex

7 bits or 8?

ASCII has 128 codes, and 128 values fit in 7 bits. Stored in an 8-bit byte, the top bit is always 0, so every ASCII byte starts with 0: “A” is 1000001 in 7 bits and 01000001 in 8.

Some textbooks and puzzles write ASCII in 7-bit groups. If every group has 7 bits, the converter reads them that way. If only one group is short, it marks that group and offers to pad it.

A byte that starts with 1 (128 or more) isn’t ASCII. The converter says so and offers to read the input as UTF-8 instead.

Worked example: the letter “A”
128
64
32
16
8
4
2
1
0
1
0
0
0
0
0
1

64 + 1 = 65 = A

Sources and method

The ASCII option here is strict 7-bit ASCII (codes 0 to 127, per RFC 20) and rejects anything else. Browsers treat the label “ascii” as Windows-1252, which is why the two are listed separately.

Questions

How do I convert ASCII to binary?

Type the text. Each character becomes its ASCII code written as 8 bits, so “Hi” becomes 01001000 01101001.

What’s the difference between binary to ASCII and binary to text?

This page checks strict ASCII, codes 0 to 127. The binary to text converter decodes UTF-8 by default, which also covers accented letters, other scripts and emoji.

Is ASCII 7-bit or 8-bit?

ASCII itself is a 7-bit code. Computers store it in 8-bit bytes with the top bit set to 0.

More converters

Copied