Contact

Tools  /  Encoding  /  Binary Encoder / Decoder

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.

Frequently asked questions

Is my data uploaded anywhere?
No. Conversion happens locally in the browser — nothing is sent to a server.
Why does one character sometimes turn into more than one group of binary digits?
Conversion works at the byte level using UTF-8, and a character outside the basic ASCII range can take up two or more bytes to represent, so it produces that many separate 8-bit groups rather than always exactly one.
What does each 8-bit group actually represent?
One byte -- a number from 0 to 255, written out in base 2 and padded with leading zeros to always show exactly eight digits.
Can accented letters or emoji be converted correctly?
Yes -- because conversion works on the real UTF-8 bytes rather than assuming one binary group per visible character, text containing accented letters, symbols, or emoji converts and decodes back correctly.
What format does the binary input need to be in to decode correctly?
A series of 8-bit groups separated by whitespace, matching what the encoder itself produces. The decoder also accepts hex, octal or decimal byte lists and can auto-detect which one you pasted.
Theme Accent