Boneyard Tools

Binary Translator: Text to Binary and Back

Type text to watch its binary code build up digit by digit, or paste a string of 0s and 1s to read the message back. Encoding runs on UTF-8 bytes, so plain letters take one byte while accented letters and emoji take two to four. The result updates as you type and copies with one click.

How to translate text and binary

  1. Choose a mode with the toggle at the top: Text to binary, or Binary to text.
  2. Type or paste your input into the box below the toggle.
  3. In Text to binary mode, set 'Separate bytes with' to Space or None.
  4. Watch the output box fill in live as you type or edit the input.
  5. Check the character count, then press Copy to grab the result.

Examples

Encode a word to binary

Hi
01001000 01101001

Decode a single byte back to text

01000001
A

Encode an accented word (multi-byte UTF-8)

café
01100011 01100001 01100110 11000011 10101001

Frequently asked questions

How does text turn into binary?

Each character is encoded as one or more UTF-8 bytes, and every byte is written as eight binary digits. The letter A is byte 65, which is 01000001. Plain ASCII characters use a single byte, while accented letters and emoji spread across two to four bytes.

What does the byte separator option do?

In Text to binary mode you can put a Space between each eight-bit byte or set None to run them together. Space makes long output easier to read; None gives a compact stream. When decoding, any spaces are ignored, so the choice only affects how the binary looks.

Does it support emoji and accented characters?

Yes. Because encoding uses UTF-8, a character such as an e with an acute accent becomes the two bytes 11000011 10101001, and it decodes back to the exact original. Emoji work the same way across their three or four bytes.

What binary format does it expect when decoding?

Groups of eight bits made only of 0s and 1s. Spaces, tabs and line breaks between groups are stripped first, so both 01001000 01101001 and 0100100001101001 decode to the same text. The total digit count must be a multiple of eight.

Can I paste binary without any spaces?

Yes. All whitespace is removed before decoding, so a solid block of bits works as long as its length divides evenly by eight. This is handy when you copy binary that lost its spacing along the way.

Why do I get an invalid binary error?

The input holds a character other than 0 or 1, or the digit count is not a multiple of eight. Delete any stray letters or symbols and make sure each byte carries exactly eight bits before decoding.

How is ASCII related to what I see here?

ASCII covers the first 128 code points, and UTF-8 encodes each of them as one byte with a leading 0. So for ordinary English text the binary you get here matches an ASCII table exactly, one byte per character.

Is there a limit on how much I can translate?

There is no fixed cap. The work happens in your browser, so the practical ceiling is your device memory. Very long text or binary translates almost instantly.

Is my text sent to a server?

No. The translation happens entirely in your browser, so whatever you type or paste never leaves your device.

Learn more

  • How text becomes binary with UTF-8

    Follow one character from your keyboard to eight binary digits, see why UTF-8 uses one to four bytes, and learn how a binary string reads back as text.

Related tools