Text to binary converter

Translate text into binary (01001000…), hex, octal or decimal bytes, or paste codes to turn them back into text. Works with any language via UTF-8.

CharUnicodeUTF-8 bytesBinary

Runs entirely in your browser. Nothing you enter is sent to a server.

How text becomes binary

Computers store text as numbers. ASCII gives the 128 basic English characters a number from 0 to 127 — “H” is 72, which is 01001000 in binary. UTF-8 extends this to every character in Unicode by using one to four bytes: “é” takes two bytes and “🍁” takes four. This converter always uses UTF-8, the encoding of almost every web page.

Common codes

A–Z65–90 (01000001–01011010)
a–z97–122 (01100001–01111010)
0–948–57
Space32 (00100000)

Converting a single number between bases instead? Use the number base converter.

Frequently asked questions

What’s “Hello” in binary?

01001000 01100101 01101100 01101100 01101111.

Can I paste binary without spaces?

Yes. Unspaced binary is split into 8-bit groups (and hex into pairs) automatically.

Why does an emoji become four bytes?

UTF-8 uses four bytes for characters outside the Basic Multilingual Plane, which includes most emoji.

Related tools

More from the Cirelay network