How to use the text to binary converter
- Choose the direction with the buttons above the result.
- Type or paste your text in the top box.
- Copy the converted result.
How text becomes binary
Computers store every character as a number, and every number in base 2, using only the digits 0 and 1. A group of eight binary digits (bits) is a byte, which can hold a value from 0 to 255. The letter A is number 65 in the ASCII table, and 65 in binary is 01000001.
| Character | Decimal | Binary |
|---|---|---|
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| a | 97 | 01100001 |
| 0 | 48 | 00110000 |
| space | 32 | 00100000 |
| ! | 33 | 00100001 |
So Hi is 01001000 01101001. Notice that upper and lowercase letters differ by a single bit.
Beyond English letters
ASCII only covers 128 characters. For everything else, this tool uses UTF-8, the standard encoding of the web, in which accented letters take two bytes, most Asian characters three, and emoji four. That is why one emoji turns into 32 binary digits.