Binary Alphabet: A–Z in Binary Code

Search any character or click a letter to see its binary code, decimal value and hex value.

Click a letter above — for example, A is 01000001 (decimal 65, hex 0x41).

The Two Rules That Decode Any Letter

You do not need to memorize 52 codes. The letter codes come from ASCII, and they follow two rules.

Rule 1: The first three bits tell you the case

Every uppercase letter starts with 010, every lowercase letter starts with 011. Digits are different again: they start with 0011.

Rule 2: The last five bits tell you which letter

Count from 00001 = 1 = A/a up to 11010 = 26 = Z/z. The five bits are simply the letter’s position in the alphabet.

Decode 01100101: it starts with 011, so it is lowercase; the last five bits 00101 are 5, and the 5th letter is e. Or take 01010110: 010 says uppercase, 10110 is 22, and the 22nd letter is V. That is the whole trick — case from the front, letter from the back.

Full Binary Alphabet Chart: A–Z, a–z, 0–9

All 62 letters and digits with their binary, decimal and hex values. Type a character or number to filter the rows.

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
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
000110000480x30
100110001490x31
200110010500x32
300110011510x33
400110100520x34
500110101530x35
600110110540x36
700110111550x37
800111000560x38
900111001570x39

How to Write Your Name in Binary

Take “Sam”. Use the chart or the two rules: S is the 19th letter, uppercase, so 010 + 19 (10011) = 01010011; a is the 1st letter, lowercase: 01100001; m is the 13th, lowercase: 01101101. Joined together, “Sam” in binary is:

01010011 01100001 01101101

Check it in the binary code translator, then try your own name letter by letter.

Practice

1. Decode 01101110 using the two rules. It starts with 011, so lowercase; the last five bits 01110 are 14 — and the 14th letter is n.

2. Encode the letter G. G is the 7th letter, and 7 is 00111. Uppercase takes the 010 prefix, so the answer is 01000111 (decimal 71).

3. Challenge — decode 01001010 01101001 01101101. Byte by byte: 010 + 10 = J, 011 + 9 = i, 011 + 13 = m. The message is “Jim”.

Binary Alphabet FAQ

What is A in binary?

Uppercase A is 01000001 in binary — decimal 65, hex 0x41. Lowercase a is 01100001 (decimal 97).

Why do uppercase and lowercase letters have different binary codes?

They are different characters with different code points. Uppercase A–Z is 65–90 and lowercase a–z is 97–122 — exactly 32 apart, which in binary means a single bit (00100000) flips between them.

How many bits does one letter need in binary?

Every English letter fits in one byte: 8 bits. The alphabet only needs the values 65–90 and 97–122, all well inside the 0–255 range of a single byte.

Does the binary alphabet cover accented or non-English letters?

No — this chart is the ASCII alphabet: English letters and digits only. Characters like é or 你 sit above the 0–127 range and need multi-byte UTF-8; our article on what is UTF-8 explains how that works.