Binary Alphabet
Updated · UTF-8 text encoding
In binary, each letter is an 8-digit code. Capital letters run from 01000001 (A) to 01011010 (Z), and small letters from 01100001 (a) to 01111010 (z). The codes come from ASCII, which every computer still uses for English; what is binary code explains why letters are stored this way.
Capital letters A to Z in binary
| Letter | Binary | ASCII | Letter | Binary | ASCII |
|---|---|---|---|---|---|
| A | 01000001 | 65 | N | 01001110 | 78 |
| B | 01000010 | 66 | O | 01001111 | 79 |
| C | 01000011 | 67 | P | 01010000 | 80 |
| D | 01000100 | 68 | Q | 01010001 | 81 |
| E | 01000101 | 69 | R | 01010010 | 82 |
| F | 01000110 | 70 | S | 01010011 | 83 |
| G | 01000111 | 71 | T | 01010100 | 84 |
| H | 01001000 | 72 | U | 01010101 | 85 |
| I | 01001001 | 73 | V | 01010110 | 86 |
| J | 01001010 | 74 | W | 01010111 | 87 |
| K | 01001011 | 75 | X | 01011000 | 88 |
| L | 01001100 | 76 | Y | 01011001 | 89 |
| M | 01001101 | 77 | Z | 01011010 | 90 |
Small letters a to z in binary
| Letter | Binary | ASCII | Letter | Binary | ASCII |
|---|---|---|---|---|---|
| a | 01100001 | 97 | n | 01101110 | 110 |
| b | 01100010 | 98 | o | 01101111 | 111 |
| c | 01100011 | 99 | p | 01110000 | 112 |
| d | 01100100 | 100 | q | 01110001 | 113 |
| e | 01100101 | 101 | r | 01110010 | 114 |
| f | 01100110 | 102 | s | 01110011 | 115 |
| g | 01100111 | 103 | t | 01110100 | 116 |
| h | 01101000 | 104 | u | 01110101 | 117 |
| i | 01101001 | 105 | v | 01110110 | 118 |
| j | 01101010 | 106 | w | 01110111 | 119 |
| k | 01101011 | 107 | x | 01111000 | 120 |
| l | 01101100 | 108 | y | 01111001 | 121 |
| m | 01101101 | 109 | z | 01111010 | 122 |
Spaces, numbers and punctuation
| Character | Binary | ASCII |
|---|---|---|
| space | 00100000 | 32 |
| . | 00101110 | 46 |
| , | 00101100 | 44 |
| ! | 00100001 | 33 |
| ? | 00111111 | 63 |
| ' | 00100111 | 39 |
| - | 00101101 | 45 |
| @ | 01000000 | 64 |
| # | 00100011 | 35 |
| & | 00100110 | 38 |
The digits 0 to 9 as text characters are 00110000 to 00111001 (ASCII 48 to 57). That's different from the numbers themselves: the number 7 is just 111, but the character "7" is 00110111. For numbers, use the decimal to binary converter or the binary numbers chart.
Patterns that make the binary code alphabet easy
- All capitals start with
010and all small letters with011. - The last five digits count the letter's place in the alphabet:
00001is A or a,00010is B or b, up to11010for Z or z. - So to switch between capital and small, flip the one bit worth 32.
Write words in binary
Put the codes side by side: "Hi" is 01001000 01101001, and "I love you" is 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101. Spaces count as characters too. For longer messages, the binary translator converts whole sentences both ways, and the binary to text page explains how to read a message by hand.
Questions people ask
What is A in binary?
Capital A is 01000001 (65); small a is 01100001 (97).
What is the binary code for the alphabet based on?
ASCII, which numbers letters, digits and punctuation from 0 to 127. Capitals start at 65, small letters at 97.
How do you write hello in binary?
01101000 01100101 01101100 01101100 01101111