Text to Binary Converter
Encode text to UTF-8 binary bytes or decode binary back to text. Handles ASCII, accented characters, emoji, spaces, continuous bits, and line-separated byte groups entirely in your browser.
Reviewed May 25, 2026. Privacy model: tool input is processed in your browser and is not uploaded to BytePane servers.
Byte inspector
First 16 UTF-8 bytes shown as decimal, hex, and 8-bit binary.
| # | Decimal | Hex | Binary |
|---|---|---|---|
| 1 | 72 | 0x48 | 01001000 |
| 2 | 101 | 0x65 | 01100101 |
| 3 | 108 | 0x6C | 01101100 |
| 4 | 108 | 0x6C | 01101100 |
| 5 | 111 | 0x6F | 01101111 |
| 6 | 44 | 0x2C | 00101100 |
| 7 | 32 | 0x20 | 00100000 |
| 8 | 66 | 0x42 | 01000010 |
| 9 | 121 | 0x79 | 01111001 |
| 10 | 116 | 0x74 | 01110100 |
| 11 | 101 | 0x65 | 01100101 |
| 12 | 80 | 0x50 | 01010000 |
| 13 | 97 | 0x61 | 01100001 |
| 14 | 110 | 0x6E | 01101110 |
| 15 | 101 | 0x65 | 01100101 |
| 16 | 33 | 0x21 | 00100001 |
UTF-8 Aware Binary Conversion
A correct text-to-binary converter must encode text to bytes before writing bits. This tool uses the browser's native UTF-8 encoder, so A becomes one byte, é becomes two bytes, and emoji become four bytes. That matches how text is stored in files, APIs, network payloads, hashes, and Base64 inputs.
Common Binary Formats
Space-separated bytes are easiest to read: 01001000 01100101. Continuous bits are compact and common in puzzles or protocol examples: 0100100001100101. Line-separated output is useful when inspecting long strings byte by byte.
When to use this instead of Base64
Use binary output when you need to teach, debug, or inspect exact byte values. Use Base64 when bytes must travel through text-only systems such as JSON payloads, email bodies, HTTP headers, or data URLs. Binary is more explicit; Base64 is more compact.
Frequently Asked Questions
How does text to binary conversion work?
Text is first encoded as bytes, usually with UTF-8. Each byte is then written as an 8-bit binary number. ASCII characters such as A use one byte, while emoji and many non-Latin characters use multiple UTF-8 bytes.
Can I decode binary without spaces?
Yes. Paste either continuous bits like 0100100001100101 or space-separated bytes like 01001000 01100101. The input must still contain complete 8-bit bytes.
Does this support Unicode and emoji?
Yes. The converter uses TextEncoder and TextDecoder with UTF-8, so emoji, accented characters, and CJK text round-trip correctly.
Is this data uploaded to BytePane?
No. Conversion runs locally in your browser. Your text and binary output are not sent to a server.
What is the difference between binary text and Base64?
Binary text writes each byte as eight 0/1 bits, which is readable but long. Base64 packs the same bytes into a shorter ASCII-safe representation for APIs, data URIs, and email transport.