Text to Binary
Encode text as binary bytes, with eight bits in each group.
How to use it
- Paste or type your text, or load the example.
- Choose any options, then select Encode binary.
- 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.