Binary Translator

One input per line. Output is numbered to match the input order.
Pinned tools are listed in your favourites on the home page.Copies a link to this tool that carries your current input, so it opens ready to run.Gives you an iframe snippet for putting this tool on your own site.

Conversion runs on UTF-8 bytes, so an accented letter is two bytes and an emoji is four — exactly what xxd -b would print. Nothing is uploaded; the whole conversion happens in this tab.

Ctrl+Enter Run  · Ctrl+Shift+C Copy  · Esc Clear

Understand Binary Translator

This translator shows text as the ones and zeros a computer actually stores, and turns a string of binary digits back into text.

How it works

Text is encoded as UTF-8 and each byte is written as eight binary digits, most significant bit first: A is code point 65, which is 01000001. Characters outside ASCII take more than one byte, so é becomes the two groups 11000011 10101001 and an emoji becomes four groups. Reading binary back, the digits are taken eight at a time and the resulting bytes are decoded as UTF-8.

When to use it

  • Teaching or learning how characters, bytes, and bits actually relate to each other.
  • Reading a bit pattern out of a hardware datasheet or a protocol spec that documents its fields in binary.
  • Confirming that a byte you expect to be 0x41 carries the bit pattern you think it does.
  • Decoding a binary string someone left in a log line, a puzzle, or a commit message.

Watch out for

  • The binary of a character only means something once the encoding is known. The same letter is one byte in UTF-8 and two in UTF-16, so a bit string produced by one will not decode correctly as the other.
  • Leading zeros are part of the byte. 1000001 is seven digits and ambiguous; 01000001 is a byte — group in eights.
  • Binary is a representation, not a cipher. Text written in ones and zeros is exactly as readable as the original.

Frequently Asked Questions

How do you translate binary to text?

Split the binary into 8-bit groups, read each group as a number from 0 to 255, then decode those bytes as UTF-8. Paste the binary above and the tool does exactly that, telling you if the byte sequence is not valid UTF-8 rather than showing you question marks.

How do you convert text to binary?

Each character is encoded to one or more UTF-8 bytes, and each byte is written as eight binary digits. Plain ASCII letters take one byte, accented letters take two, most CJK characters take three, and emoji take four bytes each.

Why does my emoji become 32 binary digits?

An emoji is a single character but four UTF-8 bytes, and each byte is eight bits — so 32 digits. Tools that use JavaScript character codes instead of UTF-8 bytes split emoji into two broken halves that will not convert back correctly.

How to Use Binary Translator

  1. Paste or type your input in the input area above.
  2. The tool processes your input automatically or click Run.
  3. Copy or download the result using the action buttons.
  4. Use Ctrl+Enter to run quickly from the keyboard.