Text to Binary Converter

Convert text to binary and binary back to text, using UTF-8 bytes so non-ASCII characters work correctly.

5Characters
5UTF-8 bytes
40Bits

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Text to Binary Converter does

The text to binary converter on this page will convert text to binary and binary back to text, using UTF-8 bytes so non-ASCII characters work correctly. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for working through a computer science exercise. More utilities in this area are collected on FreeToolsWorld.org.

How to use it

  1. Pick a direction.
  2. For encoding, type or paste the text.
  3. For decoding, paste space-separated groups of eight bits.
  4. Copy the result.

How it works

Binary conversion operates on bytes, and which bytes depends on the encoding. This uses UTF-8, where an ASCII character is one byte and eight bits, an accented Latin letter is two, most CJK characters are three, and emoji are four. Tools that assume one byte per character silently corrupt anything outside ASCII.

That is why an emoji produces four groups of eight bits rather than one, and why the byte count in the stats is often higher than the character count.

Binary is not encryption and provides no secrecy whatsoever — it is the same information in a different notation, decodable by anyone in seconds. For actual secrecy, use encryption.

When to use it

  • Working through a computer science exercise.
  • Decoding a binary string someone has sent you.
  • Demonstrating how text is stored as bytes.
  • Checking the byte length of a string with non-ASCII characters.

Common mistakes to avoid

  • Assuming one character is always eight bits. It is only true for ASCII.
  • Treating binary as a form of encryption.
  • Pasting binary without the group separators, which makes the boundaries ambiguous.

Frequently asked questions

How do I convert text to binary?

Each character is encoded as UTF-8 bytes, and each byte written as eight bits. "H" is 01001000.

Why does an emoji produce more than eight bits?

Because most emoji need four UTF-8 bytes, so thirty-two bits. Only ASCII characters fit in a single byte.

Is binary encoding secure?

Not remotely. It is a notation, not a cipher — anyone can decode it instantly. Use encryption for secrecy.

Related tools

See all text & writing tools →