Text to binary converter
This converter turns any text into its binary representation, encoding characters as UTF-8 and showing every byte as eight binary digits. It is useful for learning how computers store text, for puzzles and CTF challenges, and for inspecting exactly which bytes a string produces.
How it works
The tool encodes your text as UTF-8, the standard variable-width encoding. Each character becomes one or more bytes: ASCII characters (A–Z, digits, common punctuation) are a single byte, while accented letters, symbols and emoji span two to four bytes. Every byte is converted to base 2 and left-padded to 8 digits, then the bytes are joined with single spaces:
binary = each UTF-8 byte → 8-bit string, space-separated
Example
Hi encodes to two ASCII bytes: H is 72 (01001000) and i is 105 (01101001), giving:
01001000 01101001
| Character | Code point | Binary (UTF-8) |
|---|---|---|
| A | 65 | 01000001 |
| a | 97 | 01100001 |
| 0 | 48 | 00110000 |
| space | 32 | 00100000 |
Everything runs in your browser — nothing you type is uploaded.