Skip to content
BinaryTranslator.app

Binary to ASCII Converter

Convert binary to ASCII characters, then look up any of the 128 ASCII codes in binary, decimal and hex in the full table below.

Try an example:

What is ASCII?

ASCII, the American Standard Code for Information Interchange, is a character encoding that assigns a number from 0 to 127 to 128 characters: English letters, digits, punctuation, the space and 33 control codes. Every ASCII code fits in 7 bits, so in an 8-bit byte the first bit is always 0.

ASCII was published in 1963 and is still the foundation of text on computers. UTF-8, the encoding of the web, keeps all 128 ASCII codes unchanged, which is why English text looks the same in both. To convert binary to ASCII, paste 8-bit bytes in the converter above; to go from ASCII to binary, switch to Text → Binary. The converter is set to strict ASCII, so it flags any character outside the table.

How to read the ASCII binary table

Each row shows one character with its code in three bases. Decimal is the code as an ordinary number, hex is the same value in base 16, and binary is the 8-bit byte a computer stores. For the letter A: decimal 65, hex 41, binary 01000001. To decode a byte by hand, find its binary in the table and read the character in the same row.

Printable ASCII characters (32–126)

These 95 characters are the ones you can see and type, starting with the space at code 32.

Printable ASCII characters in binary, decimal and hex
CharDecimalHexBinary
space322000100000
!332100100001
"342200100010
#352300100011
$362400100100
%372500100101
&382600100110
'392700100111
(402800101000
)412900101001
*422A00101010
+432B00101011
,442C00101100
-452D00101101
.462E00101110
/472F00101111
0483000110000
1493100110001
2503200110010
3513300110011
4523400110100
5533500110101
6543600110110
7553700110111
8563800111000
9573900111001
:583A00111010
;593B00111011
<603C00111100
=613D00111101
>623E00111110
?633F00111111
@644001000000
A654101000001
B664201000010
C674301000011
D684401000100
E694501000101
F704601000110
G714701000111
H724801001000
I734901001001
J744A01001010
K754B01001011
L764C01001100
M774D01001101
N784E01001110
O794F01001111
P805001010000
Q815101010001
R825201010010
S835301010011
T845401010100
U855501010101
V865601010110
W875701010111
X885801011000
Y895901011001
Z905A01011010
[915B01011011
\925C01011100
]935D01011101
^945E01011110
_955F01011111
`966001100000
a976101100001
b986201100010
c996301100011
d1006401100100
e1016501100101
f1026601100110
g1036701100111
h1046801101000
i1056901101001
j1066A01101010
k1076B01101011
l1086C01101100
m1096D01101101
n1106E01101110
o1116F01101111
p1127001110000
q1137101110001
r1147201110010
s1157301110011
t1167401110100
u1177501110101
v1187601110110
w1197701110111
x1207801111000
y1217901111001
z1227A01111010
{1237B01111011
|1247C01111100
}1257D01111101
~1267E01111110

ASCII control characters (0–31 and 127)

Control characters don’t print anything. They were designed to control teleprinters and terminals, and a few are still everywhere: tab (9), line feed (10) and carriage return (13) mark the ends of lines, and escape (27) starts terminal color codes.

ASCII control characters
Abbr.NameDecimalHexBinary
NULNull00000000000
SOHStart of heading10100000001
STXStart of text20200000010
ETXEnd of text30300000011
EOTEnd of transmission40400000100
ENQEnquiry50500000101
ACKAcknowledge60600000110
BELBell70700000111
BSBackspace80800001000
HTHorizontal tab90900001001
LFLine feed (new line)100A00001010
VTVertical tab110B00001011
FFForm feed120C00001100
CRCarriage return130D00001101
SOShift out140E00001110
SIShift in150F00001111
DLEData link escape161000010000
DC1Device control 1 (XON)171100010001
DC2Device control 2181200010010
DC3Device control 3 (XOFF)191300010011
DC4Device control 4201400010100
NAKNegative acknowledge211500010101
SYNSynchronous idle221600010110
ETBEnd of transmission block231700010111
CANCancel241800011000
EMEnd of medium251900011001
SUBSubstitute261A00011010
ESCEscape271B00011011
FSFile separator281C00011100
GSGroup separator291D00011101
RSRecord separator301E00011110
USUnit separator311F00011111
DELDelete1277F01111111

Patterns worth knowing in ASCII binary

  • Case is one bit. Uppercase and lowercase letters differ only in the bit worth 32: A is 01000001, a is 01100001.
  • Letters count from 1. The last five bits of a letter give its position in the alphabet: A is 00001, Z is 11010 (26).
  • Digits start with 0011. The digit characters 0–9 are codes 48–57, so the last four bits are the digit’s value: 7 is 00110111.
  • DEL is all ones. Code 127 is 01111111. On punched paper tape, punching every hole erased a character, which is where “delete” comes from.

For a printable list of letters and common words in binary, see the binary alphabet on the home page.

Frequently asked questions

What is the ASCII code for A in binary?

Capital A is ASCII code 65, which is 01000001 in binary and 41 in hex. Lowercase a is 97, or 01100001.

How many ASCII characters are there?

Standard ASCII has 128 characters, codes 0 to 127. Codes 0–31 and 127 are control characters; codes 32–126 are the 95 printable characters, including the space.

What is extended ASCII?

“Extended ASCII” is a loose name for 8-bit code pages that use codes 128–255 for extra characters. They differ from system to system, so today UTF-8 is used instead.

Is ASCII the same as UTF-8?

For codes 0–127, yes: every ASCII character has the same single byte in UTF-8. UTF-8 then adds multi-byte sequences for every other character in Unicode.