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.
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.
| Character | Binary | Place values | Decimal | Hex |
|---|
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.
64 + 1 = 65 = A
Sources and method
- RFC 20 (STD 80), ASCII format for network interchange, section 4: the 128 ASCII codes and control-character names. Checked 2026-11-25.
- RFC 3629 (STD 63), UTF-8, a transformation format of ISO 10646, section 4: which byte sequences are valid UTF-8. Checked 2026-11-25.
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.