Advertisement

Free Online Binary Translator

Convert text to binary code and binary back to readable text.

Advertisement

About the Binary Translator

This tool converts readable text into its UTF-8 binary representation and turns binary strings back into text. Every character is encoded as the sequence of bytes your browser uses for UTF-8, and each byte is written as eight bits (0s and 1s) separated by spaces. It is useful for computer science homework, teaching how character encoding works, or decoding a binary message someone sent you.

Because the conversion uses UTF-8 rather than simple ASCII, accented letters, emoji, and text in non-Latin scripts are handled correctly. A single visible character may therefore occupy more than one byte.

How to use it

  1. Choose Text → binary or Binary → text from the Mode menu.
  2. Type or paste your content into the Input box. The Result updates as you type.
  3. Click Use result as input to feed the output back in and switch modes at the same time.
  4. Press Copy to put the result on your clipboard, or Clear to start over.

A practical example

Encoding the word Hello produces 01001000 01100101 01101100 01101100 01101111. Trying café shows why encoding matters: the é is stored as two bytes, 11000011 10101001, so the result is longer than five groups. The page loads with "Hello" already filled in, which gives you a quick reference before you paste your own text.

Limitations and privacy

This is a text translator, not a binary file viewer. When decoding, every character that is not a 0 or 1 is ignored, so spaces and line breaks are fine, but the remaining bits must form complete groups of eight. If a byte sequence is not valid UTF-8, the browser replaces the bad parts with a replacement character rather than failing. Binary is an encoding, never encryption: anyone can convert it back. Everything runs in the page, so your text is not uploaded.

Frequently asked questions

Why does one letter sometimes become more than eight bits?

Encoding is UTF-8. Basic Latin letters use one byte, but accented characters, symbols, and emoji use two, three, or four bytes, each written as its own eight-bit group.

Why do I see a replacement character after decoding?

The bits formed a byte sequence that is not valid UTF-8. The decoder keeps going but substitutes the replacement character for bytes it cannot interpret.

Can I decode binary that contains spaces or new lines?

Yes. All non-binary characters are stripped before decoding, as long as the remaining count of 0s and 1s is a multiple of eight.

Related tools: Morse Code Translator, Number Base Converter, HTML Entity Encoder.

Sponsored
Find a bug? Report now