Text to Binary Converter
Convert text to binary code: every UTF-8 byte as 8 bits, with or without spaces. Works with accents, emoji and every language.
Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.
How to use the Text to Binary Converter
- 1 Type or paste your text.
- 2 Choose whether you want spaces between the bytes.
- 3 Copy the binary code.
About the Text to Binary Converter
This converter shows your text the way a computer stores it: as bytes of 8 bits. The letter A is 01000001, a space is 00100000.
Text is encoded as UTF-8 first. Plain English letters, digits and punctuation take one byte each; accented letters such as é take two (11000011 10101001) and emoji four. That is why the binary of non-English text is longer than you might expect.
With spaces between the bytes the result is easy to read; without spaces you get one long string of bits. Binary to Text converts it back.
Frequently asked questions
What is "Hello" in binary?
01001000 01100101 01101100 01101100 01101111.
Why does é take 16 bits?
In UTF-8, characters outside ASCII take two to four bytes. é is two bytes: 11000011 10101001.
Is this the same as converting a number to binary?
No. Here each character is converted. To convert the number 42 to binary, use Decimal to Binary.
How many bits does my text have?
Eight per byte. A text of 10 plain ASCII letters is 80 bits.