Binary Text Encoder/Decoder - Text to Binary & Back
Encoding Tools
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.
More encoding tools
- Base32 EncoderEncode and decode text or binary data using Base32 (RFC 4648 standard, Base32hex, or Crockford variant). Copy output with one click. Runs entirely in your browser.
- Base64Encode text or files to Base64 online: standard, URL-safe, and Base64url variants. Decode back to text or download as a file. All processing is local.
- HTML EntitiesEncode special characters to HTML entities and decode them back. Supports named (&), decimal (&), and hex (&) styles. Runs entirely in your browser.
- Punycode EncoderEncode Unicode / internationalized domain names (IDN) to Punycode (xn--) and decode them back. Implements RFC 3492 entirely in the browser.
- QR CodeGenerate QR codes for URLs, text, Wi-Fi, vCards, email, SMS, phone, geo, crypto, and calendar events. Customize colors, size, and error correction. Download as PNG or SVG.
- Quoted-Printable EncoderEncode text to Quoted-Printable (QP) or decode QP back to plain text. Implements RFC 2045 Section 6.7 with proper 76-char line wrapping.