Text to Binary Converter
Convert text to binary and binary back to text, in your browser.
Related Tools
0 comments
How it works
Encoding converts your text to its UTF-8 bytes (via TextEncoder), then writes each byte as an 8-digit binary number separated by spaces. Decoding does the reverse: it reads space-separated binary groups, turns each back into a byte, and decodes the bytes as UTF-8 text. Using UTF-8 means accented letters, symbols, and emoji round-trip correctly, not just plain ASCII. Invalid binary on decode is flagged rather than producing garbage. Everything runs locally in your browser.
"A" → 01000001 (UTF-8 byte, base 2)
Common use cases
- Encoding a short message as binary for a puzzle or class exercise.
- Decoding a string of binary back into readable text.
- Demonstrating how characters are stored as bytes.
Frequently asked questions
Does it support more than plain ASCII?
Yes. Text is encoded as UTF-8 bytes, so accented characters, symbols, and emoji convert correctly — each may take more than one 8-bit group.
What format should binary input be in?
Groups of 8 binary digits separated by spaces, for example 01001000 01101001. The decoder validates the input and reports an error if it is not valid binary.
Is my text uploaded?
No. Encoding and decoding run entirely in your browser, so nothing you enter leaves your device.