Free Binary Translator

Binary Translator
Text to Binary and Back

Type text to get binary, or paste binary to read it as text. Hex and decimal are shown too. It runs in your browser.

What is a binary translator? A binary translator converts text into binary, the base 2 system of zeros and ones that computers use, and converts it back. Each character becomes one or more bytes, and each byte is written as eight binary digits. For example, Hello is 01001000 01100101 01101100 01101100 01101111.

Result

How to Translate Text to Binary in 3 Steps

  1. Type or paste your text in the box. To decode, paste zeros and ones instead.
  2. Read the result under the box. It updates as you type, and the label shows the direction used.
  3. Press Copy Result or Download TXT. In text to binary mode the same bytes are also listed in hex and decimal.

How Text Becomes Binary

Computers store text as numbers. Each character has a number, and that number is stored in one or more bytes. A byte is eight bits, and a bit is a single zero or one. The capital letter H is the number 72, which is 01001000 in binary. The translator looks up each character, converts the bytes of its UTF-8 encoding into binary and writes them eight digits at a time.

For basic English letters, digits and punctuation, UTF-8 and ASCII are the same, so each character is exactly one byte. Characters outside that range, such as an accented letter, use two or more bytes and show up as several groups of eight digits.

Examples

These were made by this translator, so they match what you get when you type the same text. The Hex and Decimal columns list the same bytes in other bases.

TextBinaryHexDecimal
Hello01001000 01100101 01101100 01101100 0110111148 65 6c 6c 6f72 101 108 108 111
A010000014165
Hi!01001000 01101001 0010000148 69 2172 105 33
202600110010 00110000 00110010 0011011032 30 32 3650 48 50 54
café01100011 01100001 01100110 11000011 1010100163 61 66 c3 a999 97 102 195 169

ASCII Table: Printable Characters in Binary

This table lists the printable ASCII characters, from space to tilde, with their decimal, hexadecimal and binary values. It is the same mapping the translator uses for English text.

CharacterDecimalHexBinary
(space)322000100000
!332100100001
"342200100010
#352300100011
$362400100100
%372500100101
&382600100110
'392700100111
(402800101000
)412900101001
*422A00101010
+432B00101011
,442C00101100
-452D00101101
.462E00101110
/472F00101111
0483000110000
1493100110001
2503200110010
3513300110011
4523400110100
5533500110101
6543600110110
7553700110111
8563800111000
9573900111001
:583A00111010
;593B00111011
<603C00111100
=613D00111101
>623E00111110
?633F00111111
@644001000000
A654101000001
B664201000010
C674301000011
D684401000100
E694501000101
F704601000110
G714701000111
H724801001000
I734901001001
J744A01001010
K754B01001011
L764C01001100
M774D01001101
N784E01001110
O794F01001111
P805001010000
Q815101010001
R825201010010
S835301010011
T845401010100
U855501010101
V865601010110
W875701010111
X885801011000
Y895901011001
Z905A01011010
[915B01011011
\925C01011100
]935D01011101
^945E01011110
_955F01011111
`966001100000
a976101100001
b986201100010
c996301100011
d1006401100100
e1016501100101
f1026601100110
g1036701100111
h1046801101000
i1056901101001
j1066A01101010
k1076B01101011
l1086C01101100
m1096D01101101
n1106E01101110
o1116F01101111
p1127001110000
q1137101110001
r1147201110010
s1157301110011
t1167401110100
u1177501110101
v1187601110110
w1197701110111
x1207801111000
y1217901111001
z1227A01111010
{1237B01111011
|1247C01111100
}1257D01111101
~1267E01111110

Reading Binary by Hand

To read an eight digit group, add up the values of the positions that hold a one. From left to right the positions are worth 128, 64, 32, 16, 8, 4, 2 and 1. In 01001000 the ones are in the 64 and 8 positions, so the number is 72, which is the letter H. Look the number up in the ASCII table to find the character.

Binary Translator FAQ

Type your text into the box. The translator turns every character into its byte values and writes each byte as eight binary digits, with a space between bytes. Hello becomes 01001000 01100101 01101100 01101100 01101111.
Paste the binary into the box, with the bytes separated by spaces or written as one long run. The translator reads eight digits at a time and decodes the bytes as text. Switch the direction with the buttons if auto detect picks the wrong one.
A byte is eight bits, and plain English letters, digits and punctuation each fit in one byte under ASCII and UTF-8. Characters outside basic ASCII, such as an accented letter or an emoji, take two to four bytes, so they appear as several groups of eight digits.
In binary Hello is 01001000 01100101 01101100 01101100 01101111. The first group, 01001000, is the number 72, which is the code for a capital H.
It uses UTF-8. For basic English text this is identical to ASCII, so every character from the ASCII table below gives the same eight digits in both.
Yes. In text to binary mode, the result also lists the same bytes in hexadecimal and in decimal underneath, so you can copy whichever format you need.
The translator tells you how many digits it received and leaves the last incomplete group out of the result. Check for a missing or extra digit, or paste the binary with spaces between the bytes.
It is free and needs no account. The conversion runs in your browser, so the text you type stays on your device.