Binary Code Translator

Convert text to binary and back - free, UTF-8 safe.

Binary code translator
Direction
Binary

What this tool does

Switch between Text to binary and Binary to text, type or paste your content, and see the conversion instantly. Each character becomes its UTF-8 byte pattern as 8-bit binary groups, which is why accented letters, symbols and emoji convert correctly - a converter that only handles the first 128 ASCII characters would garble anything outside that range.

Converts text to binary by encoding it as UTF-8 bytes first, then showing each byte as an 8-bit binary group - correct for accented letters and emoji, not just plain ASCII.

Converts binary back to text the same way, decoding the byte sequence as UTF-8.

Shows byte and bit counts alongside the result.

Produces a different number of 8-bit groups per character depending on that character's UTF-8 byte length - one group for plain ASCII, two to four for accented letters, symbols and most emoji.

How to use it

  1. Choose Text to binary or Binary to text.
  2. Type or paste your content.
  3. Copy the result.

Why use this translator

Binary text is common in puzzles, courses and gifts, but converting by hand is slow and wrong for accents and emoji unless you use UTF-8. This encodes properly and decodes back.

Why we built it

We built the binary code translator to encode through UTF-8 bytes, so accented letters and emoji round-trip correctly. Convert further with the hex code translator and the Base64 converter, or do sums with the binary calculator.

Handy alongside this: the ASCII Art Generator.

Who this tool is for

  • Computer science students
  • Puzzle makers
  • Anyone curious how text is stored

When to use it

  • Learning how text is stored as bits.
  • Creating or decoding a binary message.
  • Checking byte lengths in UTF-8.
  • Making a puzzle or a geek gift.

Why UTF-8 bytes, not just ASCII

A character can take more than one byte, and a naive converter breaks on anything outside plain English.

Plain ASCII only covers 128 characters - the basic unaccented English alphabet, digits and punctuation. Anything beyond that, from an accented letter like 'e with an acute accent' to an emoji, needs more than one byte to represent in UTF-8, the standard text encoding used almost everywhere online. This tool encodes to UTF-8 bytes first and then shows those bytes in binary, which is why it correctly round-trips text a naive character-code-only converter would corrupt.

How many binary groups one character actually takes

It depends on the character - not every letter produces the same number of 8-bit groups.

A plain ASCII letter like 'A' always encodes to a single byte that starts with a 0 bit, for example 01000001. Characters outside that range take more: an accented letter such as 'é' takes two bytes (a lead byte starting with the bits 110, followed by a continuation byte starting with 10), a currency symbol like '€' takes three bytes, and most emoji take four. That's the leading bits doing real work, not a coincidence - they tell a decoder exactly how many following bytes belong to the same character. It also means a message mixing plain text with emoji produces far more 8-bit groups than its visible character count would suggest.

CharacterUTF-8 bytesBinary groups
A (plain ASCII)101000001
é (accented letter)211000011 10101001
€ (currency symbol)311100010 10000010 10101100
😀 (emoji)411110000 10011111 10011000 10000000

What you give it, and what you get back

Input and output of Binary Code Translator
ItemDetails
InputText, or space-separated 8-bit groups for decoding.
OutputBinary groups or the decoded text, with byte and bit counts.
NotesAccents and emoji use more than one byte.

Issues you may run into

Common problems with Binary Code Translator
What you seeWhy it happensWhat to do
Decoded text is garbledGroups are not 8 bits or are incomplete.Check the grouping.
More bits than expectedUTF-8 uses multiple bytes for non-ASCII.This is correct.
Unbroken bitstream does not workGroups need spaces.Insert a space every 8 bits.

Assumptions and limitations

Frequently asked questions

How do I convert text to binary online for free?

Choose Text to binary, type your text, and the binary result appears instantly, one 8-bit group per byte.

Does this handle emoji and accented letters?

Yes - it encodes to UTF-8 bytes first, which is why multi-byte characters like emoji and accented letters convert and decode correctly, unlike a converter that only handles plain ASCII.

Can I convert binary back to text?

Yes - switch to Binary to text, paste space-separated 8-bit groups, and the decoded text appears instantly.

Why did I get strange characters back?

This usually means the binary groups weren't valid 8-bit values or didn't form a complete, valid UTF-8 sequence - check for missing or malformed groups.

Is my data uploaded anywhere?

No. Conversion happens entirely in your browser - nothing is sent to a server.

Why does one emoji produce four groups of binary?

Because UTF-8 needs four bytes to represent most emoji. A plain ASCII letter needs one, an accented letter like é needs two, and a currency symbol like € needs three - so a message with emoji in it produces far more 8-bit groups than its visible character count suggests.

How can I tell how many bytes a character used just from the binary?

By its first byte's leading bits. A byte starting with 0 is a complete one-byte ASCII character; one starting 110 begins a two-byte sequence, 1110 a three-byte sequence, and 11110 a four-byte sequence, with every following continuation byte starting 10.