Learn the basics
Connect character codes, decimal numbers, and eight-bit representations.
Convert text to UTF-8 binary and decode binary back to text, including accented letters and emoji.
Loading tool…
Choose Text to binary or Binary to text, then enter your input or load an example.
Choose spaces, no separator, or new lines between encoded bytes. Use Swap to move the output into the other mode.
Check the live byte count and copy the result. The ASCII reference rows are also copyable.
Binary uses two digits: 0 and 1. Text encodings assign numbers to characters, and those numbers can be written in binary. This tool uses UTF-8, which preserves ASCII and also supports other writing systems and emoji.
Encode each example with Spaces selected, then use Swap to decode the same bytes back to the original text. Hi contains two ASCII characters, while the single emoji needs four bytes. A byte is always eight bits; a visible character is not always one byte.
Swipe or scroll sideways to see every column →
| Text | UTF-8 binary | Bytes |
|---|---|---|
| Hi | 01001000 01101001 | 2 |
| é | 11000011 10101001 | 2 |
| 😊 | 11110000 10011111 10011000 10001010 | 4 |
The decoder accepts complete bytes that form valid UTF-8 text. It does not interpret arbitrary files, decimal numbers, hexadecimal, or a different text encoding.
Swipe or scroll sideways to see every column →
| Input | What to check |
|---|---|
| 0100100 | Seven bits are incomplete. The letter H needs the full byte 01001000. |
| 01001002 | Only 0 and 1 are bits. Whitespace is allowed between them; other symbols are rejected. |
| 11111111 | This is an eight-bit byte, but it is not valid UTF-8 text. |
| 11000011 | This begins a multi-byte sequence but is incomplete. Add 10101001 to decode é. |
Connect character codes, decimal numbers, and eight-bit representations.
Create a puzzle for friends. Binary is easy to decode and provides no secrecy.
See why an accented letter or emoji takes more bytes than an ASCII letter.
Use small binary clues in a game, classroom exercise, or escape-room challenge.
Turn a short phrase into a binary pattern for a poster or design.
Decode valid UTF-8 byte sequences and get a clear error for incomplete or invalid text data.
This tool uses UTF-8. Basic ASCII characters take one byte; many other characters use two, three, or four bytes. Each byte is shown as eight binary digits.
Yes. UTF-8 represents emoji, accented letters, and other writing systems. Converting text to binary and back preserves valid Unicode text.
Only 0, 1, and whitespace are accepted. The number of bits must be divisible by eight, and the resulting bytes must form valid UTF-8. Arbitrary binary files are not necessarily text.
No. You can paste a continuous bit string or separate bytes with whitespace. When encoding, choose spaces, line breaks, or no separator.
No. Encoding changes how text is represented; it does not hide the message from someone who knows the encoding.
Binary uses 0 and 1. Hexadecimal uses 0–9 and A–F, with each hexadecimal digit representing four bits. Both can describe the same bytes; they do not determine the text encoding.