StringMash.com

Binary alphabet

A to Z in binary, capitals and lowercase, with the trick to reading them.

Conversion
2 characters
Updates as you type
Swap to read binary back

Printable chart
A TO Z IN EIGHT BITS

Binary alphabet chart

LetterCapitalLowercase
A a0100000101100001
B b0100001001100010
C c0100001101100011
D d0100010001100100
E e0100010101100101
F f0100011001100110
G g0100011101100111
H h0100100001101000
I i0100100101101001
J j0100101001101010
K k0100101101101011
L l0100110001101100
M m0100110101101101
N n0100111001101110
O o0100111101101111
P p0101000001110000
Q q0101000101110001
R r0101001001110010
S s0101001101110011
T t0101010001110100
U u0101010101110101
V v0101011001110110
W w0101011101110111
X x0101100001111000
Y y0101100101111001
Z z0101101001111010

The pattern in every letter

Look down the chart and every capital starts 010, and every lowercase letter starts 011. The last five bits count through the alphabet: A is 00001, B is 00010, and Z is 11010, which is 26. That's the whole trick.

So you can read a letter without the chart. Drop the first three bits, turn the last five into a number, and count that far into the alphabet. 01001000 ends 01000, which is 8, and the eighth letter is H.

Capital and lowercase differ in a single bit, the third from the left. That one bit is worth 32, which is why a and A are 32 apart in the ASCII table. Flip it and the case changes.

Where the numbers come from

Each letter's binary is its ASCII code written in base 2. A is 65, which is 64 + 1, so its binary has a 1 in the 64s place and a 1 in the 1s place: 01000001. The binary to decimal converter shows the working for any of them.

Eight bits make a byte, so each letter here takes one byte. Letters outside English, and emoji, take more than one byte in UTF-8, and the translator above shows every byte.

Questions

What is A in binary?

01000001 for a capital A, and 01100001 for a lowercase a.

Why does every letter have eight digits?

Each letter is stored as one byte, which is eight bits. The leading 0 is part of the byte even though it doesn't change the number.

How do I write my name in binary?

Type it into the translator at the top. Each letter becomes eight digits, with a space between letters.