Skip to content

The Alphabet in Binary

Every letter of the English alphabet as an 8-bit binary byte (ASCII/UTF-8), with matching decimal and hex codes. To convert whole words or sentences, use the binary translator.

How letters become binary

Computers store text as numbers. ASCII assigns every character a code - uppercase A is 65, lowercase a is 97 - and that code is written as one 8-bit binary byte. Uppercase and lowercase pairs differ by exactly one bit (value 32, binary 00100000), which is why A is 01000001 and a is 01100001.

Uppercase Letters A-Z

CharacterBinaryDecimalHex
A01000001650x41
B01000010660x42
C01000011670x43
D01000100680x44
E01000101690x45
F01000110700x46
G01000111710x47
H01001000720x48
I01001001730x49
J01001010740x4A
K01001011750x4B
L01001100760x4C
M01001101770x4D
N01001110780x4E
O01001111790x4F
P01010000800x50
Q01010001810x51
R01010010820x52
S01010011830x53
T01010100840x54
U01010101850x55
V01010110860x56
W01010111870x57
X01011000880x58
Y01011001890x59
Z01011010900x5A

Lowercase Letters a-z

CharacterBinaryDecimalHex
a01100001970x61
b01100010980x62
c01100011990x63
d011001001000x64
e011001011010x65
f011001101020x66
g011001111030x67
h011010001040x68
i011010011050x69
j011010101060x6A
k011010111070x6B
l011011001080x6C
m011011011090x6D
n011011101100x6E
o011011111110x6F
p011100001120x70
q011100011130x71
r011100101140x72
s011100111150x73
t011101001160x74
u011101011170x75
v011101101180x76
w011101111190x77
x011110001200x78
y011110011210x79
z011110101220x7A

Digits 0-9

CharacterBinaryDecimalHex
000110000480x30
100110001490x31
200110010500x32
300110011510x33
400110100520x34
500110101530x35
600110110540x36
700110111550x37
800111000560x38
900111001570x39

Code Examples

// Letter to binary
'A'.charCodeAt(0).toString(2).padStart(8, '0'); // "01000001"

// Whole word to binary
[...'hi'].map(c =>
  c.charCodeAt(0).toString(2).padStart(8, '0')
).join(' '); // "01101000 01101001"

Frequently Asked Questions

What is the letter A in binary?

Uppercase A is 01000001 in 8-bit binary (decimal 65, hex 0x41). Lowercase a is 01100001 (decimal 97, hex 0x61).

Why are uppercase and lowercase letters 32 apart?

ASCII places each lowercase letter exactly 32 positions after its uppercase pair, so they differ by a single bit (00100000, or 0x20). Flipping that one bit switches the case of any letter.

How do I write a word in binary?

Look up each letter's 8-bit code and write them in order. For example, 'hi' is 01101000 01101001. Our binary translator does this instantly for whole sentences.

Is this table ASCII or UTF-8?

Both. For the English alphabet, digits, and common punctuation, UTF-8 encodes each character as the identical single byte defined by ASCII, so the same table applies.

Related Tools