Binary Encoder/Decoder

Convert UTF-8 text and binary bytes locally.

Text

Enter UTF-8 text to encode locally.

Binary bytesRead-only

Conversion output appears here.

Read-only output remains selectable and can be copied manually.

Options

Decode expects exactly the selected separator. Every byte must contain eight bits.

Your text stays in your browser.

Nothing you enter is uploaded or automatically saved. Conversion, copying, and downloads happen only in your browser.

Statistics

Input: 0 characters · 0 lines

Output: 0 characters · 0 lines

UTF-8 bytes: 0 · Binary byte count: 0

Total bits: 0 · Expansion ratio:

What this binary tool represents

Binary represents each UTF-8 byte with eight bits. A is 01000001, é is 11000011 10101001, and 🚀 is 11110000 10011111 10011010 10000000.

UTF-8 bytes are not Unicode code points

This tool works with the bytes used to encode text, not Unicode code points. For example, é is U+00E9 as a code point but has two UTF-8 bytes. Use Unicode Converter when you need U+ values or escapes.

How to use

  1. Choose Text → Binary or Binary → Text.
  2. Select the output format separator.
  3. Enter text or exact selected-format bytes; results update locally.
  4. Copy, download, or move the result into the opposite direction.

Privacy

Conversion happens entirely in your browser. No text is sent to a server, placed in URLs, logged, or automatically stored.

Frequently asked questions

Why does an emoji use multiple binary bytes?

UTF-8 uses one to four bytes per Unicode code point. Emoji commonly need four bytes.

Why is é two bytes?

C3 A9 is the UTF-8 byte sequence for é. Its Unicode code point value is not its UTF-8 encoding.

Why is my binary input invalid?

Use only 0 and 1, eight bits for every byte, and exactly the selected separator. Compact input must have a length divisible by eight.

Why can valid binary still fail decoding?

Binary can describe any byte values, but not every byte sequence is valid UTF-8 text. Invalid UTF-8 is reported without replacement characters.

Practical guide

When to use it

Use it to inspect or explain UTF-8 bytes as bits, or to decode a byte sequence that is already written in binary.

Three steps

  1. Choose text-to-binary or binary-to-text.
  2. Select a separator and paste the text or groups of eight bits.
  3. Convert and confirm that the bytes form valid UTF-8 text.

Example and a common mistake

The ASCII letter A is the byte 01000001.

Every byte needs eight bits; a string of valid-looking 0s and 1s cannot decode if its grouping is incomplete.

Encoding

Available

ASCII Converter

Translate text between ASCII characters and numeric codes.

Encoding

Available

Unicode Converter

Convert Unicode characters, escapes, and code points.