Text · Number systems

Binary alphabet chart.

See each letter, digit and symbol as an 8-bit binary byte, or type a word and get its binary back.

Short answer: In 8-bit ASCII binary, A is 01000001, B is 01000010, and a is 01100001. The word "Hi" is 01001000 01101001.

Source: RFC 20 (ASCII)Retrieved 26 October 2026

How letters become binary

RFC 20, the 1969 "ASCII format for Network Interchange", defines a 7-bit code. Each character's number is built from the column (bits b7 b6 b5) and row (bits b4 to b1) of its table, so uppercase A, in column 4 and row 1, is 100 0001. Computers store text one byte at a time, so the 7-bit code is padded with a leading 0 to give the 8-bit form in this chart: A is 01000001. Codes above 127 are not part of RFC 20.

Uppercase letters

CharDecimalBinary (8-bit)CharDecimalBinary (8-bit)
A6501000001N7801001110
B6601000010O7901001111
C6701000011P8001010000
D6801000100Q8101010001
E6901000101R8201010010
F7001000110S8301010011
G7101000111T8401010100
H7201001000U8501010101
I7301001001V8601010110
J7401001010W8701010111
K7501001011X8801011000
L7601001100Y8901011001
M7701001101Z9001011010

Lowercase letters

CharDecimalBinary (8-bit)CharDecimalBinary (8-bit)
a9701100001n11001101110
b9801100010o11101101111
c9901100011p11201110000
d10001100100q11301110001
e10101100101r11401110010
f10201100110s11501110011
g10301100111t11601110100
h10401101000u11701110101
i10501101001v11801110110
j10601101010w11901110111
k10701101011x12001111000
l10801101100y12101111001
m10901101101z12201111010

Digits

CharDecimalBinary (8-bit)CharDecimalBinary (8-bit)
0480011000055300110101
1490011000165400110110
2500011001075500110111
3510011001185600111000
4520011010095700111001

Punctuation and the space

CharDecimalBinary (8-bit)CharDecimalBinary (8-bit)
3200100000;5900111011
!3300100001<6000111100
"3400100010=6100111101
#3500100011>6200111110
$3600100100?6300111111
%3700100101@6401000000
&3800100110[9101011011
'3900100111\9201011100
(4000101000]9301011101
)4100101001^9401011110
*4200101010_9501011111
+4300101011`9601100000
,4400101100{12301111011
-4500101101|12401111100
.4600101110}12501111101
/4700101111~12601111110
:5800111010

Patterns worth knowing

Worked example: "Hi"

H is code 72, which is 01001000. i is code 105, which is 01101001. Together, "Hi" is 01001000 01101001, two bytes. To go the other way, convert each group of eight bits back to a number and look it up: 01001000 is 72, so H.

What this page does not cover

Accented letters, emoji and other languages are encoded with Unicode (UTF-8), which uses more than one byte per character and is not shown in this ASCII chart. The tool skips characters outside ASCII and tells you which ones.

Frequently asked questions

What is A in binary?

Uppercase A is 01000001 in 8-bit ASCII (decimal 65). Lowercase a is 01100001 (decimal 97).

How do you write the alphabet in binary?

Take each letter's ASCII number, A = 65 through Z = 90 and a = 97 through z = 122, and write it as an 8-bit binary number. The chart above lists all 52.

Why is the lowercase letter different from the uppercase one by one bit?

In the ASCII table the lowercase letters sit 32 places after the uppercase ones, which is the single bit 00100000.

How many bits is a letter?

ASCII defines 7 bits per character. In practice each character is stored in an 8-bit byte with a leading 0, which is the form used here.

Can I convert binary back to text?

Yes. Choose "Binary to text" and paste groups of eight bits separated by spaces. Groups that are not printable ASCII (32 to 126) are skipped.

What standard defines these codes?

RFC 20, ASCII format for Network Interchange, dated 16 October 1969.

Sources

Retrieved

Runs entirely in your browser. Nothing you type is sent or stored.

ASCII only

This chart covers the 128-character ASCII code. For other languages and emoji, characters need more than one byte under Unicode (UTF-8).

Advertisement
Advertisement