Skip to content

Text to Binary Converter

Convert text to binary (8 bits per byte, UTF-8) or decode binary code back into text.

Text and binary
Choose a direction and type.

Result
Result
01001000 01101001 00100001
3
UTF-8 bytes

Private: Everything runs in this page. Nothing you type is sent anywhere or saved.

On this page
  1. Text to binary examples
  2. Formula
  3. How the text and binary works
  4. What this tool does not do
  5. Frequently asked questions
  6. Related tools

Text to binary examples

TextBinary
A01000001
a01100001
Hi01001000 01101001
000110000
€11100010 10000010 10101100

Formula

each byte of the UTF-8 text is written as 8 binary digits

How the text and binary works

  1. Step oneChoose Text to binary or Binary to text.
  2. Step twoType or paste the input. Binary can be separated by spaces.
  3. Step threeCopy the result. Each character becomes one or more groups of 8 bits.

What this tool does not do

  • It writes the UTF-8 bytes of the text, not 7-bit ASCII or another character set.
  • It does not compress or encrypt anything.
  • Binary to text needs complete groups of 8 digits.

Frequently asked questions

Why do some characters give more than 8 bits?

Plain English letters fit in one byte. Other characters, such as the euro sign, use 2 to 4 bytes in UTF-8, so they show as 2 to 4 groups of 8 bits.

What if my binary has the wrong length?

Binary text needs a multiple of 8 digits. The tool tells you how many digits it found.

Is this ASCII?

For English letters, digits and common symbols the result is the same as ASCII. The tool also handles other languages through UTF-8.