Skip to content

Text to Binary Converter

Type or paste text to see each character as 8-bit bytes: ASCII for plain letters, UTF-8 for everything else.

Stays in your browser; it isn’t added to the page address.

Convert to
Outputa space between bytes

In binary

01001000 01100101 01101100 01101100 01101111

5 characters, 5 bytes in UTF-8.

How text becomes binary

A computer stores each character as a number, its code, and then stores that number in binary. For plain English the codes are ASCII: capital A is 65, lower-case a is 97, the digit 0 is 48 and a space is 32. Each one fits in a byte, eight bits.

Characters outside ASCII (é, €, 中, 😀) are encoded with UTF-8, which uses two, three or four bytes per character. The first byte says how many follow, and ASCII text is unchanged, which is why UTF-8 became the web’s default.

So “Hi” is H = 72 = 01001000 and i = 105 = 01101001. The converter shows each character, its code and its bytes in the working, and keeps the bytes separated by spaces so they are easy to read.

character → code point → UTF-8 bytes → 8 bits per byte

Letters and digits in binary (ASCII)

Capital and small letters, digits and the space, each one byte.

Capital and small letters, digits and the space, each one byte.
CharacterCodeBinary
space3200100000
A6501000001
B6601000010
C6701000011
D6801000100
E6901000101
F7001000110
G7101000111
H7201001000
I7301001001
Show all 63 rows
J7401001010
K7501001011
L7601001100
M7701001101
N7801001110
O7901001111
P8001010000
Q8101010001
R8201010010
S8301010011
T8401010100
U8501010101
V8601010110
W8701010111
X8801011000
Y8901011001
Z9001011010
a9701100001
b9801100010
c9901100011
d10001100100
e10101100101
f10201100110
g10301100111
h10401101000
i10501101001
j10601101010
k10701101011
l10801101100
m10901101101
n11001101110
o11101101111
p11201110000
q11301110001
r11401110010
s11501110011
t11601110100
u11701110101
v11801110110
w11901110111
x12001111000
y12101111001
z12201111010
04800110000
14900110001
25000110010
35100110011
45200110100
55300110101
65400110110
75500110111
85600111000
95700111001

Frequently Asked Questions

What is “hello” in binary?

hello is 01101000 01100101 01101100 01101100 01101111: h = 104, e = 101, l = 108 (twice) and o = 111.

Why does an emoji turn into 32 bits?

Emoji have code points above 65,535, which UTF-8 stores in four bytes. 😀 (U+1F600) is F0 9F 98 80 in hex, 32 bits in all.

Is text to binary the same as ASCII to binary?

For English letters, digits and common punctuation, yes: UTF-8 gives exactly the ASCII byte. They differ only for characters ASCII does not have.

Is what I type sent anywhere?

No. The conversion runs in your browser, and text is not put in the page address, so it is not shared unless you copy it.