Encoding & Text Conversion

Text → Binary

Convert normal text, Chinese, Japanese and emoji to byte-aligned binary.

Press Ctrl / ⌘ + Enter to run
Read-only result

Encode Unicode text into UTF-8 bytes, and then output a fixed eight-bit binary.

Inputs are only processed in your browser and are not uploaded to the server.

What this tool does

Convert multilingual text to UTF-8 binary bytes with exactly 8 bits per byte, including leading zeros. Spaced and continuous modes change only the display.

  • Each byte always outputs 8 bits, including necessary leading zeros.
  • Supports both space separated and continuous formats.
  • Conversion takes place in your browser without uploading or automatically saving your input.

How to use it

  1. Enter the Unicode text to be converted.
  2. Choose Spaced or Continuous.
  3. Click "Convert to Binary".
  4. Copy the binary result.

Common uses

  • Demonstrates bit-level representation of UTF-8 bytes.
  • Prepare test payload for binary protocol.
  • Check for Binary → Text round-trip conversions.

Privacy and security

Your input and results stay in your browser and are not uploaded or saved automatically. Copy any results you want to keep and save them yourself before leaving the page.

Text → Binary Features

Encode Unicode text into UTF-8 bytes, and then output a fixed eight-bit binary. Review the result, then copy it for use.

FAQ

Why are the number of characters and the number of bytes different?

UTF-8 uses multiple bytes for Chinese, Japanese, and emoji, so one character can correspond to multiple sets of 8-bit binary.

Can Continuous mode be restored?

Yes, Binary → Text can be restored on a byte-by-byte basis as long as the total number of bits remains a multiple of 8.

Can leading zeros be omitted?

No. If omitted, explicit byte boundaries are lost, so each group is fixed to 8 bits.

Will the input leave the browser?

Your input stays in your browser and is not uploaded.

Back to Developer Tools