Binary to Text Converter (UTF-8) – Free

This binary to text converter joins your 0s and 1s into bytes and decodes the bytes as UTF-8. Plain English, accented characters and emoji all decode in your browser.

How to use the Binary to Text tool

  1. Paste the bits into the Binary bytes box. Spaces or line breaks between bytes are fine.
  2. Select Convert. The tool forms 8-bit bytes and decodes them as UTF-8.
  3. Read the decoded text in the Result box.
  4. Select Copy to take the text, or Example to decode the sample bytes to Hi.

How binary becomes text

Text is stored as numbers, and an encoding says which number sequences mean which characters. UTF-8, specified in RFC 3629, is the encoding of nearly all web content. It uses one byte for the 128 ASCII characters and two to four bytes for everything else.

The first bits of a byte tell the decoder what it is looking at. A byte starting with 0 is a complete ASCII character. A byte starting with 110, 1110 or 11110 opens a sequence of two, three or four bytes. Each following byte starts with 10 and carries six more bits of the character's code point.

Worked example: decoding a two-byte character

The bytes 01001000 and 01101001 both start with 0, so they are ASCII codes 72 and 105: the letters H and i.

Now take 11000011 10101001. The first byte starts with 110, which announces a two-byte character and contributes the bits 00011. The second byte starts with 10 and contributes 101001. Joined, 00011101001 is 233, or U+00E9, the letter e with an acute accent.

01001000 01101001  ->  Hi
11000011 10101001  ->  é
11100010 10000010 10101100  ->  €
01000011 01100001 01100110 11000011 10101001  ->  Café

Why binary to text decoding fails

The decoder runs in strict mode. It stops with an error instead of inserting replacement characters, so you never get silently damaged text. The error for invalid UTF-8 comes from the browser's built-in decoder, and its exact wording differs between browsers.

  • The bit count is not a multiple of eight. The message is: Enter complete bytes, using eight bits per byte.
  • A multi-byte character is cut short, for example 11000011 with nothing after it.
  • The bytes are in another encoding. In Latin-1 the single byte 11101001 is an accented e, but alone it is not valid UTF-8.
  • The input contains separators other than whitespace, such as commas, or a 0b prefix on every byte.
  • The input is longer than 65,536 bits, which is 8,192 bytes.

Binary to Text and Binary to ASCII compared

Both tools produce the same result for bytes below 128. They differ on everything above. Binary to ASCII refuses any byte with the top bit set. This tool accepts those bytes when they form valid UTF-8 sequences, which covers accented letters, non-Latin scripts, currency symbols and emoji.

One detail: if the bytes begin with the UTF-8 byte order mark, 11101111 10111011 10111111, the decoder drops it and returns only the text that follows.

Frequently asked questions

How do I translate binary to text?

Split the bits into bytes of eight, convert each byte to its number, and decode the numbers with the right character encoding. This tool does the split and decodes the bytes as UTF-8.

Why does the tool report that the data is not valid?

The bytes do not form legal UTF-8. Common reasons are a truncated multi-byte character, a missing or extra bit that shifts every later byte, or data that was encoded as Latin-1, UTF-16 or something else.

Can it decode emoji and non-English characters?

Yes. Any character in Unicode can be decoded as long as its full UTF-8 byte sequence is present. Most emoji take four bytes, so 32 bits of input produce one visible symbol.

Does it support UTF-16 or other encodings?

No. The bytes are always decoded as UTF-8. Text saved in UTF-16 will fail or come out with stray null characters, and a legacy code page only decodes correctly when every byte is ASCII.

Do the bytes need to be separated by spaces?

No. All whitespace is removed and the bits are cut into bytes every eight digits. 0100100001101001 decodes to the same two letters as 01001000 01101001.

Is the binary I paste uploaded anywhere?

No. The bytes are assembled and decoded by JavaScript in your browser, using the browser's own text decoder. Nothing from the Binary bytes box is sent over the network.

Related tools