Category: Developer tools

Text to Binary Converter

System ideaMissing a tool?

Encode text as UTF-8 binary bytes and decode binary byte groups back to text

Convert text to space-separated 8-bit UTF-8 binary bytes, or decode whitespace and comma-separated binary back to text. Runs locally in your browser.

Binary
01001100 01101111 01100011 01100001 01101100 01010100 01101111 01101111 01101100 01110011

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

This text to binary converter works at the UTF-8 byte level. In encode mode, it uses the browser's TextEncoder to turn text into bytes, prints every byte as eight binary digits padded with leading zeros, and separates bytes with a single space. Plain ASCII letters become one byte, while accented letters, CJK characters and emoji become the multi-byte UTF-8 sequences they actually use. In decode mode, it accepts binary tokens separated by whitespace or commas and converts them back through TextDecoder. If any token is not 1 to 8 binary digits, the whole decode input is rejected with an invalid-input message rather than producing a partial result. You can switch directions, load a matching sample and copy the result. This is not a multi-format encoder: there is no ASCII/UTF-16/Latin-1 selection, no continuous unseparated stream, no custom output delimiter, no configurable byte width, no hex, octal, decimal-byte or Base64 output, no numeric base conversion, no bitwise math, no checksum tools and no file upload or download. Text, binary and results stay in the browser.

How to use it

  1. Choose encode or decode mode and paste text or separated binary byte tokens.
  2. Encode mode writes each UTF-8 byte as eight binary digits with single spaces; decode mode accepts whitespace or commas.
  3. Review the converted result or invalid-input message, then copy the output.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Why do I get an invalid binary input error?
Decode mode expects each token to contain only 1 to 8 binary digits. If one token contains another character or is too long, the whole input is rejected.
Does it support emoji and non-English characters?
Yes. Encoding and decoding use UTF-8 through TextEncoder and TextDecoder, so accents, CJK characters and emoji become multi-byte sequences.
Is my text uploaded anywhere?
No. The conversion runs in the browser, and your text, binary input and converted result are not uploaded to LocalTools.
What binary input formats are accepted?
Use groups of 1 to 8 zero/one digits separated by whitespace or commas. A continuous unseparated bit stream is not supported.
Can I choose ASCII instead of UTF-8?
No. LocalTools is UTF-8 only. That is why non-ASCII characters are represented as multiple 8-bit bytes instead of a single ASCII code.