Text to Binary Converter

Encode text as eight-bit binary bytes with UTF-8 or strict ASCII and your choice of separator.

Free No sign-up Runs in your browser

UTF-8 supports accents and emoji. ASCII accepts only characters 0–127. Spaces and line breaks in your text are preserved.

Up to 64 KiB of encoded data. Every byte is written as eight binary digits.

Conversion stays in your browser. Nothing is uploaded or stored by this tool.

Result

Your result will appear here

Binary conversion is an encoding, not encryption. Some decoded control characters are not visible.

Need to read binary? Use Binary to Text.

Common uses

  • Prepare binary byte examples for a lesson
  • Compare ASCII bytes with UTF-8 text encoding
  • Create a byte sequence to test a decoder

How it works

How to use Text to Binary Converter

Enter the original text

Paste or type the text exactly as you want it encoded. Spaces, tabs and line breaks are part of the data.

Choose encoding and byte layout

Use UTF-8 for accents, emoji and other Unicode text, or ASCII for characters 0–127. Separate output bytes with spaces, new lines or no separator.

Encode and save the bytes

Run the encoder to get eight binary digits per byte. Copy the output or download it, and keep the encoding setting with the data so it can be decoded correctly.

FAQ

Good to know

How do I use Text to Binary Converter?

1. Enter the original text: Paste or type the text exactly as you want it encoded. Spaces, tabs and line breaks are part of the data. 2. Choose encoding and byte layout: Use UTF-8 for accents, emoji and other Unicode text, or ASCII for characters 0–127. Separate output bytes with spaces, new lines or no separator. 3. Encode and save the bytes: Run the encoder to get eight binary digits per byte. Copy the output or download it, and keep the encoding setting with the data so it can be decoded correctly.

How does A become 01000001?

A has the byte value 65 in ASCII and UTF-8. Written in base two and padded to eight bits, 65 becomes 01000001.

Does every character take eight bits?

Every output byte has eight bits, but a UTF-8 character can use several bytes. For example, é uses two bytes and many emoji use four. This tool encodes bytes rather than padding Unicode code points.

Does binary encoding hide my message?

No. Anyone with the binary bytes and the encoding can convert them back to text. Binary encoding provides no password protection or encryption.