Text Tools
Fancy Text
Calculators
Everyday helpers

Quick calculators

Percentages, money, grades, math, age, sleep and time tools.

Browse all calculators
% Percentage Calculator Percent of, change and difference ½ Fraction Calculator Add, subtract and simplify fractions A+ Grade Calculator Weighted grade and final exam score 4.0 GPA Calculator Semester and cumulative GPA Av Average Calculator Mean, median, mode and range σ Standard Deviation Calculator Spread of a data set, step by step 1:2 Ratio Calculator Simplify and scale ratios ≈ Rounding Calculator Round to any place or figure 1.0 Significant Figures Calculator Count and round significant figures ft² Square Footage Calculator Area of rooms and shapes Tp Tip Calculator Work out the tip and split the bill Ex Expense Calculator Track and total your spending Ag Age Calculator Exact age in years, months and days Zz Sleep Calculator Find a good time to sleep or wake t± Online Time Calculator Add and subtract hours and minutes Di Discount Calculator Sale price, percent off, stacked deals St Sales Tax Calculator Add, remove or find tax, VAT mode Si Simple Interest Calculator Interest, principal, rate or time Ci Compound Interest Calculator Growth, deposits, schedule and APY Pm Payment Calculator Loan payment, total interest Ir Interest Rate Calculator Rate from amounts or payments Fv Future Value Calculator Deposits, growth, compounding Pv Present Value Calculator Discount a lump sum or payments Fn Finance Calculator Solve N, rate, PV, PMT or FV Ro ROI Calculator Net gain, ROI and break-even Cm Commission Calculator Flat, tiered or base plus commission Sa Salary Calculator Hourly, weekly, annual pay E+ Scientific Notation Calculator Convert and calculate in E notation
Health
Dev Tools
More
Menu
Text Tools
Fancy Text
Calculators
Everyday helpers

Quick calculators

Percentages, money, grades, math, age, sleep and time tools.

Browse all calculators
% Percentage Calculator Percent of, change and difference ½ Fraction Calculator Add, subtract and simplify fractions A+ Grade Calculator Weighted grade and final exam score 4.0 GPA Calculator Semester and cumulative GPA Av Average Calculator Mean, median, mode and range σ Standard Deviation Calculator Spread of a data set, step by step 1:2 Ratio Calculator Simplify and scale ratios ≈ Rounding Calculator Round to any place or figure 1.0 Significant Figures Calculator Count and round significant figures ft² Square Footage Calculator Area of rooms and shapes Tp Tip Calculator Work out the tip and split the bill Ex Expense Calculator Track and total your spending Ag Age Calculator Exact age in years, months and days Zz Sleep Calculator Find a good time to sleep or wake t± Online Time Calculator Add and subtract hours and minutes Di Discount Calculator Sale price, percent off, stacked deals St Sales Tax Calculator Add, remove or find tax, VAT mode Si Simple Interest Calculator Interest, principal, rate or time Ci Compound Interest Calculator Growth, deposits, schedule and APY Pm Payment Calculator Loan payment, total interest Ir Interest Rate Calculator Rate from amounts or payments Fv Future Value Calculator Deposits, growth, compounding Pv Present Value Calculator Discount a lump sum or payments Fn Finance Calculator Solve N, rate, PV, PMT or FV Ro ROI Calculator Net gain, ROI and break-even Cm Commission Calculator Flat, tiered or base plus commission Sa Salary Calculator Hourly, weekly, annual pay E+ Scientific Notation Calculator Convert and calculate in E notation
Health
Dev Tools
More
Blog Get the Chrome extension
Blog Get the Chrome extension
Guide

How to Read Binary Code: Decode 0s and 1s Step by Step

By Case Converter Tool · Updated · 6 min read

Quick answer: Here is how to read binary code: split the 0s and 1s into groups of eight, add up the place values (128, 64, 32, 16, 8, 4, 2, 1) wherever there is a 1, and look the total up in an ASCII table. For example, 01000011 is 64 + 2 + 1 = 67, which is the capital letter C.

Binary looks like noise until you know the pattern, and then it is plain arithmetic. This guide shows how to read binary code by hand. Below you will find the steps, a worked example, the mistakes that make decoding go wrong, and a letter table to bookmark. To check any answer, paste the code into the binary to text converter.

How to read binary code in four steps

  1. Split the string into groups of eight. Each group is a byte, and for plain English text each byte is one character. If the code already has spaces, they mark the groups for you.
  2. Write the place values above the digits. From left to right they are 128, 64, 32, 16, 8, 4, 2 and 1. The smallest place sits on the right, like the ones column in a decimal number.
  3. Add the place values that sit above a 1. Ignore the 0s. The total is a number from 0 to 255.
  4. Look the number up in an ASCII table. 65 is A, 97 is a, 32 is a space. Write the characters down in order.

Worked example: decode 01000011 01100001 01110100

Here are three bytes. Apply the four steps to each one.

Byte Places switched on Total Character
01000011 64 + 2 + 1 67 C
01100001 64 + 32 + 1 97 a
01110100 64 + 32 + 16 + 4 116 t

Read in order, the message is “Cat”.

There is a shortcut for letters. In ASCII, a letter byte is a three-bit prefix followed by five bits that count through the alphabet. Capitals start with 010 and lowercase letters start with 011. The last five bits give the letter’s position, where 00001 is the first letter and 11010 is the 26th. Take 01110100: the prefix 011 means lowercase, and 10100 is 16 + 4 = 20, the 20th letter, which is t.

Card showing how the first bits of an ASCII byte reveal capitals, lowercase, digits and spaces

Binary with spaces, without spaces and in other formats

Binary comes in several layouts. With spaces, each group is one character, so you can read it straight away. With no spaces at all, you split the string yourself: count eight digits from the left, draw a line, and repeat. If the total number of digits is not a multiple of eight, something is missing, usually zeros dropped from the front of a group. A 7-digit group such as 1000011 is really 01000011, which is C.

Programmers often write a byte with a 0b prefix, as in 0b01000011. The converter accepts that, along with commas, new lines and unbroken strings. It also has a padding option that restores dropped leading zeros without changing the decoded text.

Common mistakes when you read binary code

  • Mixing 7-bit and 8-bit groups. ASCII is a 7-bit code, but text is normally stored in 8-bit bytes with a 0 in front. “Hi” is 1001000 1101001 in 7 bits and 01001000 01101001 in 8. If you cut the 8-bit version into groups of 7, you get 0100100 (a dollar sign), 0011010 (an invisible control character) and a stray 01.
  • Starting in the wrong place. A single extra or missing digit shifts every group after it. The “Cat” bytes above, started one digit late, become 10000110 and 11000010 with a leftover 1110100. A byte that begins with 1 is not plain ASCII, so treat it as a warning.
  • Dropped leading zeros. A group shorter than eight digits was probably longer once. Pad it on the left before adding anything up.
  • Look-alike characters. A capital O typed for a 0, or a lowercase L typed for a 1, breaks the group. The converter has a fix for these.
  • Reading the places backward. The 128 place is on the left and the 1 place is on the right. Reverse them and 01000011 becomes the wrong number.

Plain binary text has no built-in gaps the way Morse code does, so the grouping is the only thing telling you where one letter ends and the next begins. Most decoding errors come back to it.

ASCII letter table: binary for A to Z and a to z

Bookmark this one. Values come from standard ASCII, where capitals run from 65 to 90 and lowercase letters from 97 to 122. Digits 0 to 9 are 00110000 to 00111001 (48 to 57), and the space is 00100000 (32). See Wikipedia’s ASCII article for the full table.

Letter Capital (decimal) Capital (binary) Lowercase (decimal) Lowercase (binary)
A, a 65 01000001 97 01100001
B, b 66 01000010 98 01100010
C, c 67 01000011 99 01100011
D, d 68 01000100 100 01100100
E, e 69 01000101 101 01100101
F, f 70 01000110 102 01100110
G, g 71 01000111 103 01100111
H, h 72 01001000 104 01101000
I, i 73 01001001 105 01101001
J, j 74 01001010 106 01101010
K, k 75 01001011 107 01101011
L, l 76 01001100 108 01101100
M, m 77 01001101 109 01101101
N, n 78 01001110 110 01101110
O, o 79 01001111 111 01101111
P, p 80 01010000 112 01110000
Q, q 81 01010001 113 01110001
R, r 82 01010010 114 01110010
S, s 83 01010011 115 01110011
T, t 84 01010100 116 01110100
U, u 85 01010101 117 01110101
V, v 86 01010110 118 01110110
W, w 87 01010111 119 01110111
X, x 88 01011000 120 01111000
Y, y 89 01011001 121 01111001
Z, z 90 01011010 122 01111010

When the binary is not plain ASCII

If a byte starts with 1, you are probably looking at UTF-8, which uses one to four bytes per character. RFC 3629 defines the pattern. A first byte starting with 110 begins a two-byte character, 1110 begins a three-byte one, and 11110 begins a four-byte one. Every byte after the first starts with 10.

Try 11000011 10101001. The first byte starts with 110, so the character takes two bytes. Remove the marker bits and you are left with 00011 and 101001. Joined, that is 00011101001, which is 233. Code point 233 (U+00E9) is the letter é.

When you are unsure which encoding you have, the converter’s Auto-detect setting tries UTF-8, 7-bit ASCII, Latin-1 and UTF-16, keeps the cleanest result, and tells you which one it picked. It also lists any bad digits or incomplete groups with their exact position.

Decode binary online

Paste the 0s and 1s into the binary to text converter and it decodes as you type. It handles spaces, commas, new lines or no separators, and a working panel shows the place values, so you can compare them with your own. Everything runs in your browser. To go the other way, the text to binary converter writes any text as binary. Once you know how to read binary code by hand, the tool is mainly a way to check your work and to handle long messages.

Frequently asked questions

What does 01001000 01100101 01101100 01101100 01101111 mean?

It reads “Hello”. The five bytes are 72, 101, 108, 108 and 111, which are H, e, l, l and o in ASCII.

Can I read binary without an ASCII table?

For letters, yes. Check the first three bits (010 for capitals, 011 for lowercase), then read the last five bits as a position in the alphabet, counting from 1. For digits and punctuation you still need the table.

Why does my binary decode to nonsense?

The usual causes are groups cut at the wrong place, 7-bit and 8-bit groups mixed together, or a different encoding than the one you assumed. It can also be that the binary is not text at all, since the converter decodes text only, not files or images.

How do you read binary numbers instead of text?

Use the same place values, but stop after step 3. There is no table lookup. For example, 1011 is 8 + 2 + 1, which is 11, and 00001010 is 8 + 2, which is 10.