Cursive S

Binary Translator

A binary translator turns the 0s and 1s a computer stores into words you can read, and turns your own words back into binary. This page is also a binary converter: switch to decimal, hex or octal and every number is converted exactly, whatever its size. Paste a code or type a message, choose a language from the menu, and the breakdown shows how each character became bytes. It all runs in your browser, so nothing you type is uploaded.

Try:
More:
Guide

How to use the binary translator

One tool handles five formats (text, binary, decimal, hexadecimal and octal) in any direction. Four steps cover everything.

  1. Choose a conversionTap a quick button, or pick your own From and To formats.
  2. Enter your inputType or paste. The result updates on every keystroke.
  3. Read the breakdownSee each character as code point, decimal, hex, place values and bits.
  4. Copy or reuse itCopy the result, download it as .txt, or press ⇄ to reverse the conversion.

Accepted input formats

FormatWhat you can paste
Binary01001000 01101001 · 0100100001101001 · 0b01001000
Hex48 69 · 0x48 0x69 · 4869
Decimal72 105 (one byte per number, 0 to 255, when converting to text)
Octal110 151 · 0o110
TextAny language, any length, emoji included

Separators can be spaces, new lines or commas. A group shorter than a full byte, such as the 7-bit 1000001, is padded on the left. Between two number systems (binary to decimal, for example) each group is read as one whole number of any size.

Theory

What a binary translator does

A computer never stores the letter “S”. It stores a number, and that number lives in memory as a row of switches that are either off or on. Binary is the way we write those switches: 0 for off, 1 for on. A binary translator walks a character through three small steps, and back again when you decode.

CharacterS
→
Code (ASCII)83
→
One byte01010011

That is why people also search for a binary to English converter, a binary to ASCII converter or a binary code translator: they all describe the same job. It is not encryption. It is another way of writing the same information, so anyone with a translator can read it.

Learn

Binary learning lab

This lab takes you from “what is a bit?” to reading a real message in about ten minutes. Open a lesson, try the examples in the translator above, tick the lesson off, and test yourself in the daily challenge. Everything is hands-on: tap bits, convert real words, and check your answers with one click.

0 of 5 lessons done
1Bits and bytesA bit is one 0 or 1, and eight bits make a byte

A bit is a single 0 or 1. Eight bits make a byte, and one byte can hold 256 different values, from 0 to 255. That is enough for one English letter, which is why binary text comes in groups of eight.

2Place valuesEvery position is worth double the one on its right

The eight positions count 128, 64, 32, 16, 8, 4, 2, 1 from left to right. Add up the positions that hold a 1. Tap the bits and watch the number, the hex code and the character change.

3Words in binaryCommon English words, one byte per letter

Every space is its own byte, 00100000, so a phrase is longer than the sum of its words. Choose another language in the menu and this table switches to it.

WordBinary
Hi01001000 01101001
Hello01001000 01100101 01101100 01101100 01101111
Yes01011001 01100101 01110011
No01001110 01101111
OK01001111 01001011
Love01001100 01101111 01110110 01100101
I love you01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101
Thank you01010100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101
Good morning01000111 01101111 01101111 01100100 00100000 01101101 01101111 01110010 01101110 01101001 01101110 01100111
Happy birthday01001000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001
Computer01000011 01101111 01101101 01110000 01110101 01110100 01100101 01110010
Sunshine01010011 01110101 01101110 01110011 01101000 01101001 01101110 01100101
Friend01000110 01110010 01101001 01100101 01101110 01100100
Python01010000 01111001 01110100 01101000 01101111 01101110
4The alphabet and digitsA to Z, a to z and 0 to 9 as bytes
LetterDecimalUppercaseLowercase
A / a65 / 970100000101100001
B / b66 / 980100001001100010
C / c67 / 990100001101100011
D / d68 / 1000100010001100100
E / e69 / 1010100010101100101
F / f70 / 1020100011001100110
G / g71 / 1030100011101100111
H / h72 / 1040100100001101000
I / i73 / 1050100100101101001
J / j74 / 1060100101001101010
K / k75 / 1070100101101101011
L / l76 / 1080100110001101100
M / m77 / 1090100110101101101
N / n78 / 1100100111001101110
O / o79 / 1110100111101101111
P / p80 / 1120101000001110000
Q / q81 / 1130101000101110001
R / r82 / 1140101001001110010
S / s83 / 1150101001101110011
T / t84 / 1160101010001110100
U / u85 / 1170101010101110101
V / v86 / 1180101011001110110
W / w87 / 1190101011101110111
X / x88 / 1200101100001111000
Y / y89 / 1210101100101111001
Z / z90 / 1220101101001111010

Uppercase and lowercase differ by exactly 32, a single bit (the third from the left). Flip it and the letter changes case.

CharacterASCII codeBinary
04800110000
14900110001
25000110010
35100110011
45200110100
55300110101
65400110110
75500110111
85600111000
95700111001

The character “5” is not the number 5. As text it is code 53, 00110101. As a number it is just 101. Mixing the two up is the most common beginner mistake.

5Numbers, hex and octalOne number written in four different bases
DecimalBinaryHexOctal
0000
1111
21022
31133
410044
510155
611066
711177
81000810
91001911
101010A12
111011B13
121100C14
131101D15
141110E16
151111F17
16100001020
321000002040
64100000040100
100110010064144
12711111117F177
1281000000080200
20011001000C8310
25511111111FF377
256100000000100400
100011111010003E81750

Hex is a shortcut for binary. Every hex digit is exactly four bits, so 01001000 splits into 0100 and 1000, which is 4 and 8, so 48. Octal does the same with three bits per digit: 01 001 000 is 1, 1, 0, so 110.

Daily practice

Daily binary challenge

Five new questions every day, drawn from what is on this page: bytes to letters, decimal to binary, binary to decimal, hex codes, whole words and counting bits. Everyone gets the same set on the same date, so you can compare scores. Want more? Practice mode never runs out.

Do it yourself

Step by step, with your own input

Type your own name or number and watch the conversion worked out the slow way, one byte at a time. It is the quickest route to understanding what the translator is doing for you.

Your name, byte by byte


Full binary:

Number workshop: decimal to binary by division


DivisionQuotientRemainder (bit)Bit position

UTF-8: why Urdu, Hindi and emoji take more bytes

ASCII only covers 128 characters. UTF-8 keeps ASCII as one byte and spreads everything else over 2, 3 or 4 bytes. The first bits tell the decoder how long the character is, and every continuation byte starts with 10.

CharacterBytesBinary
A101000001
é211000011 10101001
ا (alif)211011000 10100111
€311100010 10000010 10101100
👋411110000 10011111 10010001 10001011
If you cut a multi-byte character in the middle, the decoder cannot rebuild it. This tool detects that and says so instead of printing garbage.
Real world

Where binary conversion is used

Binary converters are used wherever people need to read or write raw machine-level data: in programming, networking, electronics, security and data work, and just as often in classrooms and puzzles. If you can read it, you can spot problems that plain text hides.

In computing and IT

ProgrammingBitwise operations, flags, memory addresses and low-level languages like C and assembly.
File permissionsLinux chmod 755 is 111 101 101 in binary: owner, group, others.
NetworkingIP addresses and subnet masks are four bytes. 192.168.1.1 is easier to subnet in binary.
ElectronicsDigital logic, microcontrollers and registers are all bits on or off.
CybersecurityForensics, malware analysis and CTF challenges often start with raw bytes.
Data engineeringCharacter encodings, storage formats and compression all depend on bytes.

In school, puzzles and everyday life

HomeworkCheck hand conversions of binary, decimal and hex instantly.
ExamsPractise ASCII values and place values before computer science tests.
PuzzlesEscape rooms and scavenger hunts often hide clues as 0s and 1s.
CTF challengesBinary is a common first layer in capture-the-flag problems.
Gifts and designsA name or short message in binary suits posters, mugs and bios.
DebuggingSee why an accent or emoji broke in a file or a database.

When a conversion fails

“Not valid … digits”Letters or other digits are in the input. You probably have normal text, so set From to Text.
“Multiple of 8”One digit is missing or extra. Look for a group that is 7 or 9 digits long, often at a line start or end.
“Not valid UTF-8”The bytes are real but are not text, or a multi-byte character was cut in half.
Reference

Full ASCII table: binary, decimal, hex and octal

All 128 ASCII codes in one place. Filter by type, search for a character or bit pattern, and click any row to convert that character in the tool.

CharacterDecimalHexOctalBinaryType
NUL00000000000000Control
SOH10100100000001Control
STX20200200000010Control
ETX30300300000011Control
EOT40400400000100Control
ENQ50500500000101Control
ACK60600600000110Control
BEL70700700000111Control
BS80801000001000Control
HT90901100001001Control
LF100A01200001010Control
VT110B01300001011Control
FF120C01400001100Control
CR130D01500001101Control
SO140E01600001110Control
SI150F01700001111Control
DLE161002000010000Control
DC1171102100010001Control
DC2181202200010010Control
DC3191302300010011Control
DC4201402400010100Control
NAK211502500010101Control
SYN221602600010110Control
ETB231702700010111Control
CAN241803000011000Control
EM251903100011001Control
SUB261A03200011010Control
ESC271B03300011011Control
FS281C03400011100Control
GS291D03500011101Control
RS301E03600011110Control
US311F03700011111Control
Space322004000100000Symbol
!332104100100001Symbol
"342204200100010Symbol
#352304300100011Symbol
$362404400100100Symbol
%372504500100101Symbol
&382604600100110Symbol
'392704700100111Symbol
(402805000101000Symbol
)412905100101001Symbol
*422A05200101010Symbol
+432B05300101011Symbol
,442C05400101100Symbol
-452D05500101101Symbol
.462E05600101110Symbol
/472F05700101111Symbol
0483006000110000Digit
1493106100110001Digit
2503206200110010Digit
3513306300110011Digit
4523406400110100Digit
5533506500110101Digit
6543606600110110Digit
7553706700110111Digit
8563807000111000Digit
9573907100111001Digit
:583A07200111010Symbol
;593B07300111011Symbol
<603C07400111100Symbol
=613D07500111101Symbol
>623E07600111110Symbol
?633F07700111111Symbol
@644010001000000Symbol
A654110101000001Uppercase
B664210201000010Uppercase
C674310301000011Uppercase
D684410401000100Uppercase
E694510501000101Uppercase
F704610601000110Uppercase
G714710701000111Uppercase
H724811001001000Uppercase
I734911101001001Uppercase
J744A11201001010Uppercase
K754B11301001011Uppercase
L764C11401001100Uppercase
M774D11501001101Uppercase
N784E11601001110Uppercase
O794F11701001111Uppercase
P805012001010000Uppercase
Q815112101010001Uppercase
R825212201010010Uppercase
S835312301010011Uppercase
T845412401010100Uppercase
U855512501010101Uppercase
V865612601010110Uppercase
W875712701010111Uppercase
X885813001011000Uppercase
Y895913101011001Uppercase
Z905A13201011010Uppercase
[915B13301011011Symbol
\925C13401011100Symbol
]935D13501011101Symbol
^945E13601011110Symbol
_955F13701011111Symbol
`966014001100000Symbol
a976114101100001Lowercase
b986214201100010Lowercase
c996314301100011Lowercase
d1006414401100100Lowercase
e1016514501100101Lowercase
f1026614601100110Lowercase
g1036714701100111Lowercase
h1046815001101000Lowercase
i1056915101101001Lowercase
j1066A15201101010Lowercase
k1076B15301101011Lowercase
l1086C15401101100Lowercase
m1096D15501101101Lowercase
n1106E15601101110Lowercase
o1116F15701101111Lowercase
p1127016001110000Lowercase
q1137116101110001Lowercase
r1147216201110010Lowercase
s1157316301110011Lowercase
t1167416401110100Lowercase
u1177516501110101Lowercase
v1187616601110110Lowercase
w1197716701110111Lowercase
x1207817001111000Lowercase
y1217917101111001Lowercase
z1227A17201111010Lowercase
{1237B17301111011Symbol
|1247C17401111100Symbol
}1257D17501111101Symbol
~1267E17601111110Symbol
DEL1277F17701111111Control

128 characters

Codes 0–31 and 127 are control characters such as line feed and tab. They are not printable, so they show their standard abbreviation.

Help

Frequently asked questions

How do I convert binary to text?

Choose Binary to Text, then paste your 0s and 1s. The translator reads them in groups of 8 bits, turns each group into a number and decodes those numbers as UTF-8 text. Spaces, commas and a 0b prefix are accepted between groups.

How do I convert text to binary?

Choose Text to Binary and type anything. Every character becomes one or more bytes, and every byte is written as 8 binary digits. You can separate the bytes with a space, a new line or nothing.

How do I convert binary to decimal and back?

Add up the place values (128, 64, 32, 16, 8, 4, 2, 1) of every bit that is 1: 01000001 is 64 + 1 = 65. To go the other way, divide by 2 repeatedly and read the remainders from last to first, so 100 becomes 1100100. The Binary to Decimal and Decimal to Binary buttons do both instantly.

What does 01101000 01100101 01101100 01101100 01101111 mean?

It spells hello. Each group of 8 bits is one ASCII letter: 104, 101, 108, 108 and 111.

What is binary code and how do you read it?

Binary code writes information using only 0 and 1. For text, each character is stored as a byte of 8 bits. To read a byte, add the place values 128, 64, 32, 16, 8, 4, 2 and 1 wherever there is a 1, then look that number up in the ASCII table.

Why does my result show strange symbols or a question-mark box?

Usually the bits were grouped at the wrong place, or the original text was not UTF-8. Make sure you copied complete groups of 8 and that nothing is missing at the start or end.

Does it work with Urdu, Hindi, Arabic and emoji?

Yes. Everything is encoded as UTF-8, so Urdu and Arabic letters take 2 bytes, many Hindi letters take 3 and most emoji take 4. The breakdown table shows the exact bytes for every character.