Binary → Text Converter
Convert text to 8-bit binary and back, with full UTF-8 support and configurable separators.
About this tool
The Binary ↔ Text Converter turns any text into its binary (base-2) representation and decodes binary strings back into readable text. Each character is encoded as its UTF-8 byte sequence, with every byte rendered as an 8-bit binary group — so unlike naive charCodeAt-based converters, this tool correctly round-trips emoji, Chinese, Japanese, Arabic, and any other Unicode text, not just ASCII.
Binary representations of text show up in computer science education, low-level networking and protocol debugging, digital logic coursework, and puzzle/CTF contexts. Understanding how a byte like 01001000 maps to the letter "H" is foundational to understanding character encoding, memory layout, and how computers store text at all.
You can choose how bytes are separated in the output — spaces (the most readable, default), newlines (one byte per line), or no separator at all (a continuous bitstream). Decoding is equally flexible: paste space- or newline-separated binary, or a continuous unseparated bitstream, and it will chunk it into bytes automatically. Invalid sequences are caught and reported with a clear error rather than silently producing garbage.
Everything runs client-side using TextEncoder/TextDecoder, the browser's native UTF-8 codec. No text ever leaves your tab.
