Binary translator

Type text or paste 0s and 1s: each character becomes its UTF-8 bytes, 8 bits each.

Result

01001000 01101001 00100001

Hexadecimal: 48 69 21

  1. HU+004801001000
  2. iU+006901101001
  3. !U+002100100001

Runs in your browser: nothing you type is sent.

How it works

  1. Type text, or paste binary with a space between bytes (or 8 by 8 with no space).
  2. Each character is encoded in UTF-8: one byte for A to Z, two for é, three for €.
  3. Each byte is written in base 2: H is 01001000, i is 01101001.

ASCII table, characters 32 to 126

CharacterDecimalHexadecimalBinary
␠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

Questions

What is Hello in binary?

01001000 01100101 01101100 01101100 01101111: five letters, five bytes of 8 bits.

Why does é take 16 bits?

In UTF-8, ASCII characters take one byte and accented letters two: é is 11000011 10101001 (hex C3 A9). An emoji takes four bytes, 32 bits.

How do I read binary by hand?

Each bit is a power of two, from 128 on the left to 1 on the right. 01000001 is 64 + 1 = 65, the code of the letter A.

Other tools