Text to Binary

Encode text as binary bytes, with eight bits in each group.

Up to 200,000 UTF-16 units per input. Output limit: 4,000,000 characters.

Download text

Your text is processed in your browser and is not uploaded to ToolPixels. This tool does not save your text.

How to use it

  1. Paste or type your text, or load the example.
  2. Choose any options, then select Encode binary.
  3. Review the result, then copy it or download a text file.

UTF-8 bytes, not character numbers

ASCII letters use one byte each. Accented letters and other Unicode characters can use several UTF-8 bytes. Each byte is shown as eight binary digits separated by a space. Spaces and newlines in the input are encoded too. Use Binary to Text to reverse the conversion.

Pasted line endings are normalized by the browser to LF before encoding. Decoded control characters may be invisible, and the text box may display CR as LF. Copy and download preserve the exact decoded result.

Related text tools