Binary Encoder / Decoder
Convert text to 8-bit binary (or hex / octal / decimal) byte by byte and back, live, with a per-character breakdown of every code point and its UTF-8 bytes.
What this tool does
Text converts to space-separated 8-bit binary groups, one per byte, and the same groups convert back to the original text. Hex, octal and decimal are available as alternative bases, and a breakdown table shows how each character maps to its code point and UTF-8 bytes.
How the conversion works
Text is first turned into its underlying bytes using UTF-8, the
encoding almost everything on the web actually uses, and each byte
becomes an 8-digit binary group padded with leading zeros. A plain
ASCII character like A is one byte, so it becomes one
group; a character outside the basic ASCII range can take two or
more bytes, and each of those bytes gets its own group.
Why that matters for accented letters and emoji
A simpler approach that reads one binary group per visible character breaks the moment the text has an accented letter, a symbol, or an emoji, since those are represented by more than one byte in UTF-8. Converting at the byte level rather than the character level means that kind of text round-trips correctly instead of coming out wrong or truncated.
Privacy
Conversion happens in your browser. Nothing you paste is sent to a server.