How to Read Binary Code

Published August 11, 2026 · 8 min read

Binary looks impenetrable until you learn the one rule behind it, and then it is genuinely easy — most people can decode their own name by hand within ten minutes. This guide covers how the number system works, how to convert in both directions, the full ASCII alphabet chart, and why computers use it in the first place.

Binary Is Just Counting With Two Digits

You already use a place-value system. In decimal, 407 means 4 hundreds, 0 tens, and 7 ones — each position is worth ten times the one to its right, because we have ten digits.

Binary has only two digits, so each position is worth two times the one to its right. Reading right to left, the positions are:

128 64 32 16 8 4 2 1
0 1 0 0 0 0 0 1

To read a binary number, add up the place values wherever there is a 1. In the row above: 64 + 1 = 65. That is the whole technique. Every 0 you skip, every 1 you add.

From Numbers to Letters: ASCII

Binary on its own only gives you numbers. Turning those numbers into text requires an agreement about which number means which character — that agreement is ASCII, published in 1963 and still the foundation of modern text encoding.

The two anchors worth memorizing:

So 65 is 01000001, which is A. And the 32-point gap between upper and lowercase is exactly one bit — flipping the 32s place converts case, which is why case-changing was historically so cheap to compute.

Binary Alphabet Chart

Letter, decimal code, and eight-bit binary:

Uppercase

A 65 01000001

B 66 01000010

C 67 01000011

D 68 01000100

E 69 01000101

F 70 01000110

G 71 01000111

H 72 01001000

I 73 01001001

J 74 01001010

K 75 01001011

L 76 01001100

M 77 01001101

N 78 01001110

O 79 01001111

P 80 01010000

Q 81 01010001

R 82 01010010

S 83 01010011

T 84 01010100

U 85 01010101

V 86 01010110

W 87 01010111

X 88 01011000

Y 89 01011001

Z 90 01011010

Lowercase

a 97 01100001

b 98 01100010

c 99 01100011

d 100 01100100

e 101 01100101

f 102 01100110

g 103 01100111

h 104 01101000

i 105 01101001

j 106 01101010

k 107 01101011

l 108 01101100

m 109 01101101

n 110 01101110

o 111 01101111

p 112 01110000

q 113 01110001

r 114 01110010

s 115 01110011

t 116 01110100

u 117 01110101

v 118 01110110

w 119 01110111

x 120 01111000

y 121 01111001

z 122 01111010

A few other codes that come up constantly: space is 32 (00100000), the digit 0 is 48, and the digits 1–9 follow it in order.

Worked Example: Decoding a Word

Take this string: 01001000 01101001

  1. 01001000 → the 1s sit in the 64 and 8 places → 64 + 8 = 72 → ASCII 72 is H
  2. 01101001 → 64 + 32 + 8 + 1 = 105 → ASCII 105 is i

The message is "Hi". Notice the shortcut: both bytes start with 01, which is the signature of a letter. Bytes beginning 010 are uppercase; bytes beginning 011 are lowercase. That single observation lets you scan a long binary string and tell where the capitals are without doing any arithmetic.

Going the Other Way: Text to Binary

To encode a letter by hand, take its ASCII number and repeatedly subtract the largest place value that fits:

Encoding M (77): 128 is too big → 0. 64 fits, 77 − 64 = 13 → 1. 32 too big → 0. 16 too big → 0. 8 fits, 13 − 8 = 5 → 1. 4 fits, 5 − 4 = 1 → 1. 2 too big → 0. 1 fits, remainder 0 → 1. Result: 01001101.

Do that for each letter, separate the bytes with spaces, and you have your message. For anything longer than a word, our binary code translator converts text to binary and back instantly, including hex output.

Why Computers Use Binary at All

It comes down to physics. A circuit can distinguish "voltage present" from "voltage absent" extremely reliably, even when components are cheap, hot, or slightly out of spec. Ten distinguishable voltage levels for a decimal system would be far more fragile — a small amount of electrical noise could turn a 6 into a 7.

Two states also map cleanly onto Boolean logic, which means arithmetic can be built out of simple AND, OR, and NOT gates. Every processor is, at the bottom, an enormous arrangement of those gates operating on binary values.

Binary, Hex, and Unicode

Two things you will meet quickly once you start reading real data:

Practice Strings

Decode these by hand before checking with a translator:

01011001 01100101 01110011

01000011 01101111 01100100 01100101

01000010 01101001 01101110 01100001 01110010 01111001

Hint: every byte here starts with 01, so all three are ordinary words. Start with the 64s place and work right.

FAQ

How do you read binary code?

Read each bit from right to left, where positions represent 1, 2, 4, 8, 16, 32, 64, 128. Add the place values wherever there is a 1. So 01000001 is 64 + 1 = 65, which is the letter A in ASCII.

What does 01001000 mean?

It is 64 + 8 = 72 in decimal, which is the ASCII code for the capital letter H. Eight-bit groups like this almost always represent a single character.

Why does binary use only 0 and 1?

Because electronic circuits reliably distinguish two states — voltage present or absent, charged or uncharged. Two states are easy to build and hard to misread, while ten distinct voltage levels would be error-prone.

How do you write your name in binary?

Look up each letter's ASCII number, convert that number to eight binary digits, and put a space between letters. Capital A starts at 65 and lowercase a starts at 97, so you can count forward from either.

What is a byte?

A byte is eight bits. It can hold 256 distinct values, from 00000000 to 11111111, which is exactly enough for the original ASCII character set with room to spare.

How is binary different from hexadecimal?

Hexadecimal is base 16 and acts as shorthand for binary: each hex digit maps to exactly four bits. The byte 01001000 becomes 48 in hex, which is far easier for a person to read and transcribe.

Related Tools