Text to binary
Turns plain text into binary. Each character is read as a UTF-8 byte and written as 8 bits, so emoji and accented letters convert correctly.
HiAfter01001000 01101001Convert binary to plain text and plain text to binary. Text is read as UTF-8, so emoji and accented letters convert correctly, and you can space out the bytes or keep the bits unbroken. Everything runs in your browser, so your text stays on your device.
Computers store every letter and symbol as a group of 0s and 1s called bits. This tool moves between the two forms. It can turn plain text into the binary a computer sees, and turn a string of 0s and 1s back into readable text. Each character maps to 8 bits (one byte), and the text is read as UTF-8 so non-English characters and emoji survive the round trip. Everything happens in one click.
Turns plain text into binary. Each character is read as a UTF-8 byte and written as 8 bits, so emoji and accented letters convert correctly.
HiAfter01001000 01101001Turns binary back into plain text. Bits can be grouped with spaces or run together, and stray line breaks are ignored.
01001000 01101001AfterHiPuts a space after every 8 bits so the binary is easier to read. Turn it off for one unbroken run of bits with no spaces.
0100100001101001After01001000 01101001Every character has a number. For plain English letters it is the ASCII code: A is 65, a is 97, and a space is 32. To write that number in binary, use the place values 128, 64, 32, 16, 8, 4, 2, and 1, and put a 1 under each value you need to add up to the number.
| Character | Number | Adds up from | Binary |
|---|---|---|---|
| H | 72 | 64 + 8 | 01001000 |
| i | 105 | 64 + 32 + 8 + 1 | 01101001 |
So Hi in binary is 01001000 01101001. To go the other way, add up the place values under each 1 and look up the character for that number. Letters outside plain English take more than one byte in UTF-8: é is 11000011 10101001 and the emoji 😀 is four bytes long.
These are the 8 bit binary codes for every English letter. Capitals and lowercase differ by a single bit, the third from the left.
| Capital | Binary | Lowercase | 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 |
Digits follow the same pattern: 0 is 00110000 and9 is 00111001. A space is 00100000.
Binary shows up whenever you look at how text is stored under the hood. Here are the most common reasons people use a binary converter: