Use this free text to binary converter to turn any text into binary code made of 0s and 1s. Paste your text and the binary appears instantly, with each character written as 8-bit bytes. The tool handles UTF-8, so letters such as é, symbols such as €, and emoji convert correctly. You can separate the bytes with spaces, commas, or new lines, add a 0b prefix, copy the result, or download it as a text file. Everything runs in your browser and the result updates as you type.

Binary is a way of writing data, not a way of hiding it. Anyone can convert binary back to text, so never use it to protect private information.

How to use the text to binary converter

Paste your text and the binary version appears instantly.

  • Paste your text: type or paste the text you want to convert.
  • Choose a separator: pick a space, no separator, a comma, or a new line between each byte.
  • Adjust the options (optional): add a 0b prefix to each byte, or process a list one line at a time.
  • Copy or download: copy the binary, download it as a .txt file, or use Use as input to convert the result again.

What each separator does

SeparatorExampleWhat it does
Space01001000 01101001Puts one space between each 8-digit byte. This is the most common and easiest to read.
No separator0100100001101001Joins all bytes into one continuous string of 0s and 1s.
Comma01001000,01101001Separates bytes with commas, which is useful for arrays and spreadsheets.
New line01001000 ↵ 01101001Puts each byte on its own line.

Common text to binary examples

TextBinaryNote
A01000001A capital A has the value 65.
a01100001A lowercase a has the value 97, which is 32 more than A.
Hi01001000 01101001Two characters make two bytes.
é11000011 10101001Accented letters use two bytes in UTF-8.
€11100010 10000010 10101100The euro sign uses three bytes in UTF-8.

What this tool does and does not do

This tool converts text to binary using UTF-8. Each character becomes one or more bytes, and each byte is shown as eight binary digits. Basic English letters, numbers, and punctuation use one byte each, while accented letters, symbols, and emoji use two to four. The tool does not encrypt or compress your text, and it works with text only, so it cannot convert a file or an image. To turn binary back into readable text, use the Binary to Text Converter.

Binary shows how a computer stores your text. It does not make the text secret, so use real encryption for anything private.

Worked examples

Converting a word

Paste "Hello" and the result is "01001000 01100101 01101100 01101100 01101111". Each of the five letters becomes one 8-digit byte.

Converting a symbol

Paste "€" and the result is "11100010 10000010 10101100". The euro sign is outside basic English, so UTF-8 stores it in three bytes.

Making a continuous string

Choose No separator to join the bytes together. "Hi" becomes "0100100001101001", which is handy when you need a single block of bits.

Common binary mistakes

  • Treating binary as security. It hides nothing, because anyone can convert it back to text.
  • Dropping leading zeros. Every byte should have eight digits, so the letter A is 01000001, not 1000001.
  • Expecting one byte per character. Accented letters, symbols, and emoji use more than one byte in UTF-8.
  • Forgetting line breaks are characters. A new line is converted too, as 00001010, unless you process each line separately.

Frequently asked questions

What is binary code?

Binary code is a way of writing information using only two digits, 0 and 1. Computers store all text, images, and numbers as long strings of these digits, called bits.

How do I convert text to binary?

Paste your text into the tool and the binary code appears instantly. Each character is turned into its UTF-8 byte or bytes, and each byte is written as eight digits of 0 and 1.

Why is each letter written as 8 digits?

A byte has 8 bits, so every byte is shown as 8 binary digits, with leading zeros added when needed. For example, the letter A has the value 65, which is written as 01000001.

What is the binary code for the letter A?

The capital letter A is 01000001 in binary. The lowercase letter a is 01100001.

Does it support non-English characters and emoji?

Yes. Text is converted to UTF-8 first, so letters such as é, symbols such as €, and emoji convert correctly. These characters use more than one byte, so they produce more than one group of 8 digits.

How do I convert binary back to text?

Use the Binary to Text Converter. Paste groups of 8 binary digits and it reads them back as readable text.

Where does my text go?

The conversion runs in your browser. This page does not send or save the text you paste, and clearing the form removes it from the screen.

Is there a limit on text length?

The tool accepts up to 100,000 characters of text. For longer content, convert it one section at a time.

Share this article