Skip to main content
FixLines

Text to binary converter

Convert text to binary code, or binary back to text.

Editor

Ln 1, Col 10 lines0 words0 characters

Text to binary converter: what it does

See how a text looks as ones and zeros: every character is written as one or more 8-digit bytes separated by spaces. To go back, paste groups of eight digits and decode them. Accented letters and emoji use several bytes, as in UTF-8.

Text to binary converter: how to use it

  1. Paste your text, or the binary code.
  2. Choose Text to binary or Binary to text.
  3. Select Apply and copy the result.

Text to binary converter: when to use it

  • Show how a word is stored as bytes in a lesson or a presentation.
  • Decode a binary message from a puzzle, a game or a geocache.
  • Create a binary-looking text for a poster or a design.

Text to binary converter: examples

Convert a word to binary

Input

Hi!

Result

01001000 01101001 00100001
Decode the binary

Input

01001000 01101001 00100001

Result

Hi!
Convert a short word

Input

OK

Result

01001111 01001011

Text to binary converter: questions and answers

Do I need spaces between the bytes?

No. When decoding, spaces and line breaks are optional, but the total number of digits must be a multiple of eight.

Why does é give two bytes?

Characters outside basic ASCII take two to four bytes in UTF-8, so é is written as two groups of eight digits.

Why is each letter eight digits?

Each byte is written with all eight bits, including leading zeros, so the groups line up and decoding is unambiguous.

Can I decode binary written without spaces?

Yes. Binary to text accepts a continuous string as long as its length is a multiple of eight.

Is my text sent to a server?

No. Everything runs in your browser on your own device, so your text never leaves it.

Tools people often use together with this one.

More in Encode & decodeBrowse all text tools