Type words and get their binary code, eight bits per byte, with hex and decimal alongside.

Options
Input
Output
Common phrases in binary
hi01101000 01101001
hello01101000 01100101 01101100 01101100 01101111
I love you01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101
yes01111001 01100101 01110011
no01101110 01101111
thank you01110100 01101000 01100001 01101110 01101011 00100000 01111001 01101111 01110101
happy birthday01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001
A00001010
a00001010
000000000
Printable ASCII table (32–126): character, decimal, hex, binary
space322000100000
!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

Processed in your browser. A copy of each run is saved to your past runs so you can reopen it. Privacy

About

What the Text to Binary does

Text to Binary turns words into the 0s and 1s a computer stores: each character becomes one or more bytes, and each byte is written as eight bits. Hi becomes 01001000 01101001. Letters, digits, spaces and punctuation take one byte each in UTF-8; accented letters take two and most emoji four. The same bytes appear in hex, decimal, octal and Base64 below.

Steps

How to use it

  1. 1Type or paste your text into the Input panel. This page starts with the input set to Text.
  2. 2Press Translate (or Cmd/Ctrl+Enter). The binary appears on the right, one group of eight bits per byte.
  3. 3Copy the binary, or read the hex, decimal, octal and Base64 versions of the same bytes below.
  4. 4Press Swap to paste the binary back into the input and check that it returns your original text.

Example

A real run

Input

Hi, Texas!

Output

01001000 01101001 00101100 00100000 01010100 01100101 01111000 01100001 01110011 00100001

Ten characters, ten bytes: the comma is 00101100, the space 00100000 and the exclamation mark 00100001. The hex view shows the same bytes as 48 69 2c 20 54 65 78 61 73 21.

Options

Every setting, and when to use it

Input is
Text on this page. Switch to Detect automatically to paste binary, hex or decimal and get text back, or use the full Binary Translator for every direction.
Delimiter
A space between bytes (01001000 01101001) is easiest to read; none gives one long string; a custom separator such as a comma suits code and spreadsheets.
8-bit padding
Keeps every byte at eight digits, so A is 01000001 rather than 1000001. Leave it on unless an exercise asks for the shortest form.
Encoding: UTF-8 or 7-bit ASCII
UTF-8 handles every character, including é and emoji, and is what websites and files use. 7-bit ASCII covers only the 128 basic characters and replaces anything else with ? (00111111).

Good to know

Common problems and limits

Input is limited to 1 MB of text. Binary is a longer way of writing the same bytes, about eight characters of output for every byte.

Binary is an encoding, not encryption: anyone can turn it back into text with this page or the Binary Translator.

In 7-bit ASCII mode, characters outside the basic set (é, ñ, emoji, curly quotes) become ? and cannot be recovered. Use UTF-8 when the text is not plain English.

For hex codes instead of bits, the Hex to Text page shows the same bytes in base 16.

Audience

Who uses it

  • StudentsCheck homework that converts names or short words to binary, byte by byte.
  • TeachersShow how letters map to ASCII codes and then to bits, with the decimal and hex columns side by side.
  • Puzzle and gift makersWrite a hidden message in 0s and 1s for a card, a bracelet or an escape room clue.
  • DevelopersSee the exact UTF-8 bytes of a string with accents or emoji before debugging an encoding problem.

FAQ

Frequently asked

What is hello in binary?

Lowercase hello is 01101000 01100101 01101100 01101100 01101111: five letters, five bytes. h is 104 in decimal and 01101000 in binary. A capital H is 01001000, so case changes the bits.

What is A in binary?

Capital A is 01000001 (65 in decimal) and lowercase a is 01100001 (97). The two differ in a single bit, which is true of every upper and lowercase letter pair in ASCII.

How do I convert text to binary by hand?

Look up each character's code in an ASCII table (H is 72), then write that number in base 2 by subtracting powers of two from 128 down to 1: 72 is 64 + 8, so 01001000. Repeat for every character and keep each byte eight digits long.

Why is each letter eight bits?

A byte is eight bits, and ASCII and UTF-8 store each basic letter, digit and symbol in one byte. Eight bits allow 256 values, enough for the 128 ASCII characters with room to spare.

How are emoji and accents converted to binary?

In UTF-8 they take several bytes. é is two bytes, 11000011 10101001, and the grinning face emoji is four, 11110000 10011111 10011000 10000000. Choose UTF-8 encoding so nothing is lost.

How do I convert binary back to text?

Press Swap: the binary moves into the input and comes back as text. You can also paste binary into the Binary Translator, which detects the format on its own. 01001000 01101001 reads Hi.

Automation: an MCP tool translate_binary(input, "text", encoding) → binary and an n8n node are planned for this tool.

Built and maintained by Radhika SinghLast updated Questions: hello@operativez.ai