How to use the binary translator
- Type text into the box to see it in binary, or paste binary to read it as text.
- Choose whether bytes are separated by spaces. Spaced binary is easier to read; unspaced is more compact.
- Copy the result or press Swap to convert it back and check it.
How text becomes binary
Every character has a number. The letter H is 72 and i is 105. Binary writes those numbers in base 2, using eight places worth 128, 64, 32, 16, 8, 4, 2 and 1:
| Character | Number | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|---|
| H | 72 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 |
| i | 105 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 |
Put the bits together and "Hi" becomes 01001000 01101001. Characters outside basic English, such as é or 🙂, are first encoded as UTF-8, which uses two to four bytes per character.
Binary alphabet chart
| Letter | Binary | Letter | Binary |
|---|---|---|---|
| A | 01000001 | a | 01100001 |
| B | 01000010 | b | 01100010 |
| C | 01000011 | c | 01100011 |
| D | 01000100 | d | 01100100 |
| E | 01000101 | e | 01100101 |
| F | 01000110 | f | 01100110 |
| G | 01000111 | g | 01100111 |
| H | 01001000 | h | 01101000 |
| I | 01001001 | i | 01101001 |
| J | 01001010 | j | 01101010 |
| K | 01001011 | k | 01101011 |
| L | 01001100 | l | 01101100 |
| M | 01001101 | m | 01101101 |
| N | 01001110 | n | 01101110 |
| O | 01001111 | o | 01101111 |
| P | 01010000 | p | 01110000 |
| Q | 01010001 | q | 01110001 |
| R | 01010010 | r | 01110010 |
| S | 01010011 | s | 01110011 |
| T | 01010100 | t | 01110100 |
| U | 01010101 | u | 01110101 |
| V | 01010110 | v | 01110110 |
| W | 01010111 | w | 01110111 |
| X | 01011000 | x | 01111000 |
| Y | 01011001 | y | 01111001 |
| Z | 01011010 | z | 01111010 |
Notice the pattern: uppercase letters start with 010 and lowercase letters with 011. The last five bits give the letter's position in the alphabet, so A and a both end in 00001.
Words in binary
| Word | Binary |
|---|---|
| hello | 01101000 01100101 01101100 01101100 01101111 |
| Hi | 01001000 01101001 |
| I love you | 01001001 00100000 01101100 01101111 01110110 01100101 00100000 01111001 01101111 01110101 |
| yes | 01111001 01100101 01110011 |
| no | 01101110 01101111 |