Encoding Tools
Binary Text Encoder/Decoder - Text to Binary & Back
Convert any UTF-8 text to binary (8-bit groups) or decode binary back to text. Choose your separator format. Free, instant, browser-only.
Byte grid
First 8 characters shown
How binary text encoding works
Every character in digital text is stored as one or more bytes (8 bits). This tool converts
text using UTF-8 encoding (the dominant character encoding for the web), then represents
each byte as an 8-bit binary number (e.g.,
A = 65 = 01000001).
Common binary values
A=01000001(decimal 65)Z=01011010(decimal 90)a=01100001(decimal 97)0=00110000(decimal 48)- Space =
00100000(decimal 32)
Use cases
- Education: understand how computers store text at the bit level.
- Puzzles and ciphers: encode messages in binary for challenges or games.
- Low-level debugging: inspect raw byte values of a string.
- Protocol analysis: visualize binary framing in communications protocols.
Multi-byte UTF-8 characters
ASCII characters (code points 0–127) each fit in a single byte. Characters outside this range require multiple bytes in UTF-8. For example:
- é (U+00E9) encodes as 2 bytes:
11000011 10101001(0xC3 0xA9) - € (U+20AC) encodes as 3 bytes:
11100010 10000010 10101100 - 😀 (U+1F600) encodes as 4 bytes, starting with
11110000
The leading bits of the first byte signal how many bytes form the sequence: 110…
= 2 bytes, 1110… = 3 bytes, 11110… = 4 bytes. Continuation bytes always
begin with 10….
Bit numbering convention
This tool displays bits in MSB-first (most significant bit first) order, which is the standard for written binary representation. Bit 7 (value 128) is on the left; bit 0 (value 1) is on the right.
Some hardware protocols and embedded systems datasheets use LSB-first (least significant bit first) ordering instead. If you are comparing output with a hardware datasheet, verify the bit order used before drawing conclusions.