Text to Binary Converter

Convert text to binary (8-bit bytes), and binary back to text.

Result

01001000 01101001 00100000 11110000 10011111 10011000 10000000
1 lines · 62 bytes
  • 7 bytes from 4 characters. Text is encoded as UTF-8, so é is two bytes and an emoji is four.

How does text become binary?

Computers only store numbers, and at the lowest level those are patterns of 0s and 1s. Each letter has a number, and that number is written in binary using eight digits (bits) for each byte. The letter A is number 65, which is 01000001.

This tool turns your text into UTF-8 bytes and then shows each byte as eight binary digits. "Hi" becomes 01001000 01101001. English letters take one byte, accented letters like é take two (11000011 10101001), and emoji take four. Paste binary back in to read the text.

How to use the Text to Binary Converter

  1. Type or paste your text.
  2. Keep Direction on "Text to numbers" and set Number system to Binary.
  3. Pick how bytes are separated, and optionally add a 0b prefix.
  4. Copy the result, or switch Direction to decode binary back into text.

Real situations

When people use the Text to Binary Converter

  • 1

    Homework and classroom exercises

    Students learning how computers store text can check their hand-worked answers, such as that H is 01001000, against the real thing.

  • 2

    Puzzles and messages in binary

    Decode a message written in 0s and 1s for a game, an escape room or a geocache, or write one of your own.

  • 3

    Explain character encoding to others

    Show a colleague why é takes two bytes and an emoji takes four. The byte count in the note makes the point clearly.

  • 4

    Check bit patterns by eye

    When you need to see exactly which bits are set in a character code, the grouped output is easier to read than a long string.

FAQ

Text to Binary Converter: questions answered

How do I convert binary back to text?

Switch Direction to "Numbers to text", keep Number system on Binary and paste your bits. Groups of eight digits are read as bytes, so 01001000 01101001 gives Hi. If the bytes are not valid UTF-8 text, the tool reports an error.

Why does each letter use 8 bits?

A byte is 8 bits, and 8 bits can hold 256 different values, enough for every plain English character in ASCII with room to spare. Letters outside that range need more than one byte in UTF-8.

What is the binary for the letter A?

A is 01000001, which is 65 in decimal and 41 in hex. Lowercase a is 01100001, exactly 32 higher. The tool shows this when you type A.

Why does é give two bytes?

UTF-8 uses a single byte only for the first 128 characters. É comes after that, so it is stored in two bytes, 11000011 10101001. The note below the result counts bytes and characters so you can see the difference.

Is binary text a form of encryption?

No. It is only another way of writing the same data, and anyone can decode it in seconds. Do not use it to protect private information.

Can I change the separator?

Yes. Choose space, comma, none or new line. With no separator the output is one long string of bits, which is harder to read but handy for pasting into code that expects it.

Is this Text to Binary Converter free and private?

Yes. It is free with no sign-in, and every calculation runs inside your browser. Nothing you type is sent to a server or stored, and the page keeps working offline once it has loaded.

Private by design. No accounts, no cookies, no tracking. Everything you type stays on your device.

How we keep it that way