How to Read Binary Code (A Beginner's Guide)
By Shihab Mia July 18, 2026 7 min read
Quick answer
To read binary, write the place values 128, 64, 32, 16, 8, 4, 2, 1 above the eight bits of a byte from right to left, then add up only the values that sit under a 1. For example, 01001000 has 1s over 64 and 8, so it equals 64 plus 8, which is 72. That number 72 is the ASCII code for the capital letter H. Every byte of binary text is read the same way: first turn the bits into a number, then turn the number into a character.
Binary can look intimidating, like an endless wall of 0s and 1s scrolling past in a hacker movie. In reality it follows one simple, tidy rule, and once that rule clicks you can decode any byte with nothing but addition. This guide walks you through the place-value method, converts a real byte step by step, and shows how those numbers become the text you actually read on screen.
What binary actually is
Binary is a base 2 number system. The decimal numbers you use every day are base 10, meaning each position can hold ten different digits, 0 through 9. Binary strips that down to the two simplest possible symbols: 0 and 1. Each of those single digits is called a bit, which is short for binary digit.
Computers love binary because it maps perfectly onto physical hardware. A tiny switch inside a chip is either off or on, a wire either carries a low voltage or a high one, and a bit is either 0 or 1. There is no in-between state to get confused about, which makes binary extremely reliable for storing and moving information.
Bits are almost always grouped into blocks of eight, and a block of eight bits is called a byte. One byte can represent 256 different combinations, from 00000000 up to 11111111, which is exactly enough to cover the numbers 0 through 255. That single byte is the workhorse unit behind text, colors, and countless other kinds of data.
The place-value trick that unlocks everything
In decimal, the digits in a number like 305 have place values: the 3 sits in the hundreds place, the 0 in the tens place, and the 5 in the ones place. Binary works the exact same way, except each place is worth double the one to its right instead of ten times as much. Starting from the rightmost bit, the place values are 1, 2, 4, 8, 16, 32, 64, and 128.
Read from left to right, the eight place values of a byte line up like this: 128, 64, 32, 16, 8, 4, 2, 1. Reading binary is simply a matter of writing those numbers above the bits, then adding together every place value that sits above a 1 and ignoring every place value that sits above a 0.
The eight place values of a byte, with the byte 01001000 mapped underneath
| Place value | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Bit | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| Counts? | no | yes | no | no | yes | no | no | no |
| Adds | 0 | 64 | 0 | 0 | 8 | 0 | 0 | 0 |
In the table above, only two bits are switched on: the one over 64 and the one over 8. Add those two place values together, 64 plus 8, and you get 72. That is the entire method. There is no multiplication or division to do, just a short list of numbers to add up. If you want to see the same idea for the reverse direction, our guide on how to convert text to binary builds a byte from a character instead.
Convert a byte step by step
Let us slow all the way down and read the byte 01001000 from scratch, exactly as you would on paper. The goal is to turn eight bits into a single decimal number.
- Write the place values above the bits from the right: 128, 64, 32, 16, 8, 4, 2, 1.
- Line the byte up underneath: 0 under 128, 1 under 64, 0 under 32, 0 under 16, 1 under 8, 0 under 4, 0 under 2, 0 under 1.
- Circle every place value that has a 1 under it. Here that is the 64 and the 8.
- Ignore every place value that has a 0 under it. All the other columns contribute nothing.
- Add the circled values together: 64 plus 8 equals 72.
- The byte 01001000 is the decimal number 72.
From number to letter
The number 72 on its own is just a value. To turn it into text, look it up in the ASCII table, the standard chart that pairs numbers with characters. Code 72 is the capital letter H. So the byte 01001000 reads as the letter H. That two-step move, binary to decimal and then decimal to character, is exactly how a computer decodes binary text.
From bytes to readable words
Text is stored as one byte after another, and each byte becomes one character. Reading a sentence in binary just means reading each byte with the place-value method, then looking up the resulting number in the ASCII table. Watch the word "Hi" come together from its two bytes.
Reading the two bytes that spell the word Hi
| Binary byte | Place values that are on | Decimal | Character |
|---|---|---|---|
| 01001000 | 64 + 8 | 72 | H |
| 01101001 | 64 + 32 + 8 + 1 | 105 | i |
Notice that capital H is 72 while lowercase i is 105. In ASCII, uppercase and lowercase letters have different codes, and the lowercase versions come later in the table. That is why case matters when you decode: the same place-value math gives a different number, and a different number points to a different character.
Here is a small reference chart of common ASCII codes so you can spot-check your own reads. Note how the digit character "0" is code 48, not 0, because the printed symbol for zero is itself a character with its own code.
A short ASCII reference: binary, decimal, and the character each byte represents
| Binary | Decimal | Character |
|---|---|---|
| 00100000 | 32 | (space) |
| 00110000 | 48 | 0 |
| 01000001 | 65 | A |
| 01000010 | 66 | B |
| 01001000 | 72 | H |
| 01100001 | 97 | a |
| 01101001 | 105 | i |
Common mistakes to avoid
- Reading the place values backward. The largest value, 128, is on the far left, and 1 is on the far right. Starting the doubling from the wrong end flips your answer completely.
- Adding the place values that sit over a 0. Only bits set to 1 count. A 0 always contributes nothing, no matter how large the place value above it looks.
- Dropping leading zeros. A byte always has eight bits. The code 01001000 is not the same as 1001000 written short, so keep the full width when you line up the columns.
- Forgetting that letters are just numbers. Binary text is a two-step decode. First get the decimal value, then look it up in ASCII. Skipping the lookup leaves you with a number, not a character.
- Confusing the digit character with its value. The character "0" is ASCII code 48, and the character "1" is 49. The bytes that store printed digits are not the same as the small numbers 0 and 1.
Good to know: bigger numbers and hexadecimal
The place-value method scales up cleanly. If a number needs more than eight bits, you simply keep doubling: the ninth place is 256, the tenth is 512, and so on. Every new position to the left is worth twice the position before it, forever.
Because long strings of bits are tiring to read, programmers often group binary into a shorter base called hexadecimal, or hex, which is base 16. One hex digit stands in for exactly four bits, so a full byte becomes just two hex characters. The letter H, byte 01001000, is 48 in hex. Hex does not change the underlying value, it just writes it more compactly, and you can move between all of these bases with a converter.
Read binary instantly with a converter
Once you understand the place-value method, doing it by hand for a long message gets tedious fast. When you just need the answer, paste the bits into a converter and read the decimal value straight away. This tool turns any binary number into decimal in one click, so you can check your manual work or decode a byte in a hurry.
๐ Try the free tool Binary to Decimal Converter Free binary to decimal converter: type any binary number to get the decimal value instantly, plus a positional breakdown, bit count, and the hex and octal equivalents.Reading binary comes down to one habit: line up 128, 64, 32, 16, 8, 4, 2, 1 above the bits, add the values that sit over a 1, and you have your number. For text, take that number to the ASCII table and read off the character. The byte 01001000 is 72, and 72 is H. Practice on a few bytes with the method above, lean on the converter for the long stretches, and the wall of 0s and 1s stops looking like noise and starts reading like words.
Frequently asked questions
How do you read binary code for beginners?
Write the place values 128, 64, 32, 16, 8, 4, 2, 1 above the eight bits of a byte from right to left. Add up only the values that sit above a 1 and ignore the rest. The total is your decimal number. For text, look that number up in the ASCII table to find its character.
What does 01001000 mean in binary?
The byte 01001000 equals 72 in decimal. Bits are switched on over the place values 64 and 8, and 64 plus 8 is 72. In ASCII, the number 72 is the capital letter H. So this single byte represents the letter H when it is part of stored text.
Why do computers use binary instead of decimal?
Binary matches hardware perfectly. A switch or wire inside a chip is either off or on, which maps directly onto 0 and 1. Having only two states makes computers reliable and simple to build, since there is no fuzzy middle value to misread. Decimal would need ten distinct voltage levels, which is far harder.
How many bits are in a byte?
A byte is eight bits. Those eight bits together can form 256 different combinations, from 00000000 to 11111111, which covers the decimal numbers 0 through 255. One byte is enough to store a single ASCII character, which is why text is measured in bytes.
How do you turn binary into letters?
Read each byte in two steps. First use the place-value method to convert the eight bits into a decimal number. Then look that number up in the ASCII table to find the matching character. For example, 01001000 becomes 72, and 72 maps to the letter H in ASCII.
Is binary hard to learn?
No. Binary uses just one rule: each position is worth double the one to its right, starting at 1 on the far right. Once you memorize the place values 1, 2, 4, 8, 16, 32, 64, 128, reading a byte is simple addition. Most people can decode their first byte within a few minutes.