Binary alphabet

Letter case
Bits per letter
Letters, digits, spaces and punctuation

Try
In binary
01000010 01101001 01101110 01100001 01110010 01111001

6 characters · 6 bytes · 48 bits

Uppercase letters A to Z

Letters in your word are highlighted
  1. A0100000165
  2. B0100001066
  3. C0100001167
  4. D0100010068
  5. E0100010169
  6. F0100011070
  7. G0100011171
  8. H0100100072
  9. I0100100173
  10. J0100101074
  11. K0100101175
  12. L0100110076
  13. M0100110177
  14. N0100111078
  15. O0100111179
  16. P0101000080
  17. Q0101000181
  18. R0101001082
  19. S0101001183
  20. T0101010084
  21. U0101010185
  22. V0101011086
  23. W0101011187
  24. X0101100088
  25. Y0101100189
  26. Z0101101090

Digits 0 to 9

Always 0011 followed by the digit's own 4 bits
  1. 00011000048
  2. 10011000149
  3. 20011001050
  4. 30011001151
  5. 40011010052
  6. 50011010153
  7. 60011011054
  8. 70011011155
  9. 80011100056
  10. 90011100157
Guide

How to write letters in binary

  1. Choose A–Z or a–z. Each card shows a letter, its 8-bit binary code and its decimal code.
  2. Find each letter of your word on the chart. Uppercase letters always start with 010 and lowercase letters with 011.
  3. Or type the word into the box and copy the result: Sam becomes 01010011 01100001 01101101.

Worked example

Writing the name Sam with the binary alphabet:

LetterCodeBinary
S8301010011
a9701100001
m10901101101

Sam → 01010011 01100001 01101101

  • The last five bits of every letter are its position in the alphabet: A ends in 00001 and Z in 11010, which is 26.
  • The uppercase and lowercase forms of a letter differ in a single bit, worth 32.
  • For whole sentences, emoji or accents, use the binary translator.

The binary alphabet, A to Z

8 bits per letter
UppercaseBinaryLowercaseBinary
A01000001a01100001
B01000010b01100010
C01000011c01100011
D01000100d01100100
E01000101e01100101
F01000110f01100110
G01000111g01100111
H01001000h01101000
I01001001i01101001
J01001010j01101010
K01001011k01101011
L01001100l01101100
M01001101m01101101
N01001110n01101110
O01001111o01101111
P01010000p01110000
Q01010001q01110001
R01010010r01110010
S01010011s01110011
T01010100t01110100
U01010101u01110101
V01010110v01110110
W01010111w01110111
X01011000x01111000
Y01011001y01111001
Z01011010z01111010
Learn

How the binary alphabet works

The ASCII codes behind each letter, the patterns in their bits, and how to write your name.

The binary alphabet is the set of binary codes a computer uses for the letters A to Z. Each letter is stored as one byte, a group of 8 bits, so A is 01000001 and z is 01111010. The chart above shows every letter in uppercase and lowercase, and the box turns any word into binary. Below is where these codes come from, the patterns that make them easy to remember, and how to write your name in binary.

Where the binary alphabet comes from

Computers store letters as numbers, using a standard called ASCII. It numbers the uppercase letters from 65 to 90 and the lowercase letters from 97 to 122. Writing those numbers in binary gives the binary alphabet: 65 is 1000001, so A is 01000001 once it's padded to a full byte. Almost every computer, phone and website uses the same codes, because UTF-8, the encoding behind modern text, keeps ASCII's values for the English letters. The ASCII table lists the codes for every other character too.

The pattern behind the letters

You don't have to memorize 52 codes. Every uppercase letter starts with 010 and every lowercase letter with 011. The remaining five bits are the letter's position in the alphabet, counting A as 1. A ends in 00001, M in 01101 (13) and Z in 11010 (26). So to write M, take 010, add 13 in five bits, and you get 01001101. Puzzles that number letters from A = 1 to Z = 26 are using exactly those last five bits.

Uppercase and lowercase

The only difference between a capital letter and a small one is the third bit from the left, which is worth 32. A is 65 and a is 97, Z is 90 and z is 122. In binary, 01000001 becomes 01100001: one bit flips and nothing else changes. Programs use this to change case quickly, and it's also why uppercase letters sort before lowercase ones when text is ordered by code.

How to write your name in binary

Write each letter's code in order, keeping capitals and small letters as they are. Sam is S (83), a (97) and m (109), which gives 01010011 01100001 01101101. A space between two names is a character too, 00100000, so a full name in binary is one byte per letter plus one for each space. Type your name into the box above and copy the result, or check each letter against the chart as it's highlighted.

Numbers, spaces and punctuation

Digits have their own codes, from 48 for 0 to 57 for 9. Each one is 0011 followed by the digit's own value in four bits, so 7 is 00110111. Punctuation and the space come just before them:

CharacterCodeBinary
Space3200100000
!3300100001
,4400101100
.4600101110
?6300111111
@6401000000

Reading a binary message letter by letter

The same pattern works in reverse, so you can decode short messages without a chart. Take 01001000 01001001. Both bytes start with 010, so both are uppercase letters. The last five bits of the first byte are 01000, which is 8, and the 8th letter is H. The second ends in 01001, which is 9, the letter I. The message reads HI. A byte starting with 011 would be a lowercase letter, 00100000 is a space, and a byte starting with 0011 is a digit. For longer messages, paste them into the binary to ASCII converter.

7-bit or 8-bit letters

ASCII only needs 7 bits, because its 128 codes run from 0 to 127. Computers store each character in an 8-bit byte, so the binary alphabet is usually written with a leading 0, as on this page. Some textbooks and puzzles drop it and write A as 1000001. Switch the chart to 7-bit to see that form. Both mean the same letter.

Beyond the alphabet

Try writing your initials by hand first, then check them in the box above. After a few letters, the 010 and 011 patterns start to stick.

FAQ

Frequently asked questions

Quick answers about the binary alphabet and how it works.

What is the binary alphabet?

It's the binary code for each letter from A to Z, based on ASCII. Every letter is one byte of 8 bits: uppercase letters run from 01000001 (A) to 01011010 (Z), and lowercase from 01100001 (a) to 01111010 (z).

What is the letter A in binary?

Uppercase A is 01000001, which is 65. Lowercase a is 01100001, which is 97. Written with 7 bits, they're 1000001 and 1100001.

How do I write my name in binary?

Type it into the box above and copy the result. By hand, look up each letter on the chart in order, keeping capitals as capitals. Sam is 01010011 01100001 01101101.

Why are uppercase and lowercase letters different in binary?

They're different characters with different codes, exactly 32 apart. In binary only one bit changes: A is 01000001 and a is 01100001.

Is there an easy way to remember the binary alphabet?

Yes. Uppercase letters start with 010 and lowercase with 011, and the last five bits are the letter's position in the alphabet. C is the 3rd letter, so it's 010 + 00011 = 01000011.

Is A equal to 1 in binary?

Not in the standard binary alphabet, where A is 65. Some puzzles number letters from A = 1 to Z = 26 instead, which gives 00001 for A. Those five bits are the last five bits of the real ASCII code, so both systems line up.

Still have a question?Contact us