Binary Code for Beginners: Letters, Numbers & Symbols
If you have ever seen a string of 0s and 1s and wondered what it means, you are in the right place. Binary code is simpler than it looks. At its core, it is just a different way of writing the same numbers and letters you already know. In this guide, you will learn how binary represents text, numbers, and symbols, and how you can read it yourself.
What Is Binary Code, Really?
Binary means "two states." In computing, those two states are 0 and 1. A single 0 or 1 is called a bit (short for binary digit). String 8 bits together and you get a byte.
The reason computers use binary is physical. A transistor in a CPU is either conducting current (1) or not (0). There is no "kind of conducting." It is a clean on/off switch. Binary maps directly to how hardware works.
How Binary Represents Numbers
Counting in binary works exactly like counting in decimal. In decimal, you have ten symbols (0-9) and each position is a power of 10. In binary, you have two symbols (0-1) and each position is a power of 2.
Counting from 0 to 15 in Binary
| Decimal | Binary (4-bit) | How to Read It |
|---|---|---|
| 0 | 0000 | Zero in any base |
| 1 | 0001 | 1 in the 1s place |
| 2 | 0010 | 1 in the 2s place |
| 3 | 0011 | 2 + 1 |
| 4 | 0100 | 1 in the 4s place |
| 5 | 0101 | 4 + 1 |
| 6 | 0110 | 4 + 2 |
| 7 | 0111 | 4 + 2 + 1 |
| 8 | 1000 | 1 in the 8s place |
| 9 | 1001 | 8 + 1 |
| 10 | 1010 | 8 + 2 |
| 11 | 1011 | 8 + 2 + 1 |
| 12 | 1100 | 8 + 4 |
| 13 | 1101 | 8 + 4 + 1 |
| 14 | 1110 | 8 + 4 + 2 |
| 15 | 1111 | 8 + 4 + 2 + 1 |
Notice the pattern: after every four counts, the rightmost bit flips; after every two counts, the second bit flips. Binary counting has rhythm once you see it.
How Binary Represents Letters
Computers use a code called ASCII to map numbers to letters. The letter A is assigned the number 65, which in binary is 01000001. The letter B is 66 (01000010), and so on.
| Letter | Decimal | Binary | Letter | Decimal | Binary |
|---|---|---|---|---|---|
| A | 65 | 01000001 | N | 78 | 01001110 |
| B | 66 | 01000010 | O | 79 | 01001111 |
| C | 67 | 01000011 | P | 80 | 01010000 |
| D | 68 | 01000100 | Q | 81 | 01010001 |
| E | 69 | 01000101 | R | 82 | 01010010 |
| F | 70 | 01000110 | S | 83 | 01010011 |
| G | 71 | 01000111 | T | 84 | 01010100 |
| H | 72 | 01001000 | U | 85 | 01010101 |
| I | 73 | 01001001 | V | 86 | 01010110 |
| J | 74 | 01001010 | W | 87 | 01010111 |
| K | 75 | 01001011 | X | 88 | 01011000 |
| L | 76 | 01001100 | Y | 89 | 01011001 |
| M | 77 | 01001101 | Z | 90 | 01011010 |
Lowercase letters are the same but shifted by 32. Subtract 32 from the lowercase decimal to get the uppercase version, or flip the 6th bit (the 32s place) from 1 to 0.
How Binary Represents Symbols and Punctuation
ASCII reserves numbers 32-47, 58-64, 91-96, and 123-126 for symbols. Here are the most common ones:
| Symbol | Decimal | Binary | Symbol | Decimal | Binary |
|---|---|---|---|---|---|
| Space | 32 | 00100000 | . | 46 | 00101110 |
| ! | 33 | 00100001 | / | 47 | 00101111 |
| " | 34 | 00100010 | : | 58 | 00111010 |
| # | 35 | 00100011 | ; | 59 | 00111011 |
| $ | 36 | 00100100 | @ | 64 | 01000000 |
| % | 37 | 00100101 | [ | 91 | 01011011 |
| & | 38 | 00100110 | ] | 93 | 01011101 |
| , | 44 | 00101100 | ~ | 126 | 01111110 |
| - | 45 | 00101101 | ? | 63 | 00111111 |
01001000 01100101 01101100 01101100 01101111 00100001Split into 6 groups of 8:
01001000 = 72 = H
01100101 = 101 = e
01101100 = 108 = l
01101100 = 108 = l
01101111 = 111 = o
00100001 = 33 = !
Answer: "Hello!"
What About Emojis and Non-English Characters?
ASCII only covers 128 characters, which works for English but not for Chinese, Arabic, or emoji. UTF-8 solved this by using multiple bytes per character. An emoji like 😊 uses 4 bytes (32 bits): 11110000 10011111 10011000 10001010. That is why you need a binary translator that handles multi-byte sequences correctly.
When pasting binary into an online translator, the tool detects whether the input is 8-bit ASCII or variable-length UTF-8 and handles the decoding accordingly. Our BinTranslate tool supports both.
Practice: Translate These Binary Messages
Try these by hand before using the translator:
01000010 01101001 01101110 01100001 01110010 0111100101000011 01101111 01100100 0110010100110001 00110010 00110011
1. Binary
2. Code
3. 123