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.
| Character | Binary | Decimal | Hex |
|---|---|---|---|
| A | 01000001 | 65 | 0x41 |
| B | 01000010 | 66 | 0x42 |
| C | 01000011 | 67 | 0x43 |
| D | 01000100 | 68 | 0x44 |
| E | 01000101 | 69 | 0x45 |
| F | 01000110 | 70 | 0x46 |
| G | 01000111 | 71 | 0x47 |
| H | 01001000 | 72 | 0x48 |
| I | 01001001 | 73 | 0x49 |
| J | 01001010 | 74 | 0x4A |
| K | 01001011 | 75 | 0x4B |
| L | 01001100 | 76 | 0x4C |
| M | 01001101 | 77 | 0x4D |
| N | 01001110 | 78 | 0x4E |
| O | 01001111 | 79 | 0x4F |
| P | 01010000 | 80 | 0x50 |
| Q | 01010001 | 81 | 0x51 |
| R | 01010010 | 82 | 0x52 |
| S | 01010011 | 83 | 0x53 |
| T | 01010100 | 84 | 0x54 |
| U | 01010101 | 85 | 0x55 |
| V | 01010110 | 86 | 0x56 |
| W | 01010111 | 87 | 0x57 |
| X | 01011000 | 88 | 0x58 |
| Y | 01011001 | 89 | 0x59 |
| Z | 01011010 | 90 | 0x5A |
| a | 01100001 | 97 | 0x61 |
| b | 01100010 | 98 | 0x62 |
| c | 01100011 | 99 | 0x63 |
| d | 01100100 | 100 | 0x64 |
| e | 01100101 | 101 | 0x65 |
| f | 01100110 | 102 | 0x66 |
| g | 01100111 | 103 | 0x67 |
| h | 01101000 | 104 | 0x68 |
| i | 01101001 | 105 | 0x69 |
| j | 01101010 | 106 | 0x6A |
| k | 01101011 | 107 | 0x6B |
| l | 01101100 | 108 | 0x6C |
| m | 01101101 | 109 | 0x6D |
| n | 01101110 | 110 | 0x6E |
| o | 01101111 | 111 | 0x6F |
| p | 01110000 | 112 | 0x70 |
| q | 01110001 | 113 | 0x71 |
| r | 01110010 | 114 | 0x72 |
| s | 01110011 | 115 | 0x73 |
| t | 01110100 | 116 | 0x74 |
| u | 01110101 | 117 | 0x75 |
| v | 01110110 | 118 | 0x76 |
| w | 01110111 | 119 | 0x77 |
| x | 01111000 | 120 | 0x78 |
| y | 01111001 | 121 | 0x79 |
| z | 01111010 | 122 | 0x7A |
| 0 | 00110000 | 48 | 0x30 |
| 1 | 00110001 | 49 | 0x31 |
| 2 | 00110010 | 50 | 0x32 |
| 3 | 00110011 | 51 | 0x33 |
| 4 | 00110100 | 52 | 0x34 |
| 5 | 00110101 | 53 | 0x35 |
| 6 | 00110110 | 54 | 0x36 |
| 7 | 00110111 | 55 | 0x37 |
| 8 | 00111000 | 56 | 0x38 |
| 9 | 00111001 | 57 | 0x39 |
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.