Text to Binary Converter

Encode UTF-8 text to binary bytes or decode binary back to text locally in your browser.

Runs locally in your browser. Your text is not uploaded.
Output
Converted output will appear here.
Input bytes18
Output bytes0

How to use Text to Binary

  1. Choose Encode to turn text into 8-bit binary byte groups, or Decode to turn binary bytes back into text.
  2. Use spaces for readable byte groups or continuous output when another system expects a compact string.
  3. Copy the output after checking that Unicode text is represented as UTF-8 bytes.

Examples

Copy patterns and edge cases worth checking.

Encode ASCII text

Hi
01001000 01101001

Decode binary bytes

01001000 01100101 01101100 01101100 01101111
Hello

FAQ

Short answers before you paste real data.

Does this use ASCII or UTF-8?

Encoding uses UTF-8, so plain ASCII characters map to one byte while many non-English characters use multiple bytes.

Can I paste binary without spaces?

Yes. Decoding ignores whitespace, but the remaining input must contain only 0 and 1 and have a length divisible by 8.

Is binary encoding encryption?

No. Binary is a representation of bytes, not a security layer.

Related tools

Useful next steps that also run locally in your browser.