Skip to content
Gizmetto

Binary Translator

Turn text into binary or binary back into text. Emoji and accents work too, and you see each byte in hex, decimal and octal.

Translated to binary

4 characters

Binary

7 bytes, 56 bits
01001000 01101001 00100000 11110000 10011111 10010001 10001011

Same bytes in other bases

  • Hex48 69 20 F0 9F 91 8B
  • Decimal72 105 32 240 159 145 139
  • Octal110 151 040 360 237 221 213

Runs in your browser. Nothing you type is sent anywhere.

How binary text works

A computer stores text as numbers. A character encoding is the list that says which number is which character, and binary is just those numbers written with two digits, 0 and 1, instead of ten. Each digit is a bit, and 8 bits make a byte, which holds a number from 0 to 255.

  1. Step 1Pick a directionText to binary turns letters into bytes. Binary to text reads 0s and 1s back into letters.
  2. Step 2Type or pasteThe result updates as you type. Spaces between bytes are optional when you decode.
  3. Step 3Copy or shareCopy the binary, or the hex, decimal and octal under it. Share link sends the same text to someone else.
Binary translator turning Hello and a waving hand emoji into 10 bytes of binary, with the same bytes in hex, decimal and octal below
Hello and a waving hand: five letters and a space take one byte each, and the emoji takes four, so 10 bytes in all.

This translator uses UTF-8, the encoding defined in RFC 3629 and the one web pages use. For plain English letters, digits and punctuation, UTF-8 gives the same numbers as the much older ASCII code, so the binary matches any ASCII table. When you decode, it reads 8-digit bytes with or without spaces, 7-digit ASCII groups, commas, line breaks and 0b prefixes, and stops with a clear message instead of guessing when the digits do not fit.

ASCII binary table

Every character below takes one byte. The decimal value is the ASCII code, from the 1969 network version of the standard in RFC 20, and UTF-8 keeps the same values.

Capital letters
CharacterBinaryHexDecimal
A010000014165
B010000104266
C010000114367
D010001004468
E010001014569
F010001104670
G010001114771
H010010004872
I010010014973
J010010104A74
K010010114B75
L010011004C76
M010011014D77
N010011104E78
O010011114F79
P010100005080
Q010100015181
R010100105282
S010100115383
T010101005484
U010101015585
V010101105686
W010101115787
X010110005888
Y010110015989
Z010110105A90
Small letters
CharacterBinaryHexDecimal
a011000016197
b011000106298
c011000116399
d0110010064100
e0110010165101
f0110011066102
g0110011167103
h0110100068104
i0110100169105
j011010106A106
k011010116B107
l011011006C108
m011011016D109
n011011106E110
o011011116F111
p0111000070112
q0111000171113
r0111001072114
s0111001173115
t0111010074116
u0111010175117
v0111011076118
w0111011177119
x0111100078120
y0111100179121
z011110107A122
Digits
CharacterBinaryHexDecimal
0001100003048
1001100013149
2001100103250
3001100113351
4001101003452
5001101013553
6001101103654
7001101113755
8001110003856
9001110013957
Space and punctuation
CharacterBinaryHexDecimal
space001000002032
.001011102E46
,001011002C44
!001000012133
?001111113F63
'001001112739
"001000102234
-001011012D45
:001110103A58
;001110113B59
(001010002840
)001010012941
@010000004064
#001000112335
&001001102638
/001011112F47

Two patterns help you spot letters. Capital letters start with 010 and small letters with 011, so A and a differ only in the bit worth 32. Digits start with 0011, and the last four bits are the digit itself: 7 is 0011 0111.

UTF-8 and emoji in binary

ASCII has only 128 characters. Unicode gives a number, called a code point, to well over a hundred thousand characters, and UTF-8 is the most common way to write those code points as bytes. It uses one byte for ASCII and up to four for the rest. The first bits of each byte say how long the character is: 110 starts a 2-byte character, 1110 a 3-byte one, 11110 a 4-byte one, and every byte after the first starts with 10. The Unicode FAQ on UTF-8 explains the same layout.

Characters, their Unicode code points and their UTF-8 bytes in binary
CharacterCode pointBytesUTF-8 binary
AU+0041101000001
éU+00E9211000011 10101001
€U+20AC311100010 10000010 10101100
😀U+1F600411110000 10011111 10011000 10000000

Some emoji are several code points joined together. A thumbs up with a skin tone is two code points, so 8 bytes, and a family emoji can be 25 bytes or more. Open Byte by byte in the tool to see where each character starts and ends.

How to read binary by hand

Each position in a byte has a value, doubling from right to left. Add up the values where the digit is 1, then look the number up in the ASCII table above. Take 01001000:

Place values of the byte 01001000
Value1286432168421
Digit01001000

The 1s sit under 64 and 8, and 64 + 8 = 72, which is a capital H. To go the other way, start with the biggest value that fits, write a 1 and subtract it, and write 0 for each value that does not fit. For 105: 64 fits (41 left), 32 fits (9 left), 16 does not, 8 fits (1 left), 4 and 2 do not, 1 fits. That gives 01101001, a small i.

Hex is the shortcut programmers use: each hex digit stands for exactly four bits, so 0100 1000 is 4 and 8, written 48. That is why the tool shows hex beside the binary. It is the same bytes, just shorter to read.

FAQ

How do I convert text to binary?

Each character is stored as a number, and the number is written in base 2. In ASCII and UTF-8, the capital letter A is 65, which is 01000001 in 8 bits. Type your text in the translator and it does this for every character, using UTF-8 so accents and emoji work too.

What is hello in binary?

In UTF-8 (and ASCII), hello is 01101000 01100101 01101100 01101100 01101111. With a capital H, Hello starts with 01001000 instead, because H is 72 and h is 104.

Why do some characters take more than 8 bits?

One byte holds 256 values, and only the first 128 are the ASCII characters. UTF-8 writes every other character in two, three or four bytes: é takes 2, € takes 3 and most emoji take 4. That is why the binary of an emoji is 32 digits long.

Is binary code the same as ASCII?

No. Binary is only a way to write numbers with 0 and 1. ASCII and UTF-8 are agreements about which number stands for which character. For the 128 ASCII characters, UTF-8 uses exactly the same numbers, so ASCII text gives the same binary either way.

Why does my binary decode to strange characters?

Usually a digit is missing or extra, so every byte after it shifts. The translator tells you when the digits do not split into whole bytes. If they do, but a byte pattern is impossible in UTF-8, it shows that byte as a replacement mark and says how many bytes are wrong.

Can it read 7-bit binary?

Yes. Older examples write ASCII with 7 digits per character, such as 1001000 for H. The translator accepts 7-digit groups separated by spaces, and unspaced 7-bit text as long as the digit count divides by 7 but not by 8.

Sources: RFC 3629, UTF-8; RFC 20, ASCII format for network interchange; Unicode FAQ: UTF-8, UTF-16, UTF-32 and BOM.

Related tools

All creator tools

Maintained by Updated Nov 22, 2026.