Paste or type
Enter it in the box; the direction is already set.
Paste binary code, groups of 0s and 1s, and read the text it spells. It decodes as you type, accepts spaces or none, and flags any group that is not valid.
100% private — the calculation is done in your browser and nothing is sent to any server.
Enter it in the box; the direction is already set.
The result appears as you type.
Use the copy button, or switch the direction to convert back.
To convert binary to text, paste the 0s and 1s in the converter above. Each group of eight bits is one byte, and each byte is one character: for example, 01001000 01100101 01101100 01101100 01101111 is the word Hello. Spaces between groups are optional, and the text appears as you type.
Every bit has a value that doubles as you move left, so a byte is worth 0 to 255. To decode a byte, add the values of the positions that hold a 1. This is the weight table for eight bits:
| Bit position | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
|---|---|---|---|---|---|---|---|---|
| Value | 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
Take the first byte of 01001000 01100101 01101100 01101100 01101111, 01001000. The ones sit in the positions worth 64, 8, and 64 + 8 = 72. In ASCII, 72 is the letter H. Repeat for each byte and the message appears: Hello.
| Character | Decimal (ASCII/UTF-8) | Binary |
|---|---|---|
H | 72 | 01001000 |
e | 101 | 01100101 |
l | 108 | 01101100 |
l | 108 | 01101100 |
o | 111 | 01101111 |
Students learning how computers store text, players of puzzle and capture-the-flag games, and anyone who receives a message written in binary as a joke, a greeting or a hidden clue. Programmers use it to inspect flags and bit fields.
The conversion runs in your browser, so what you type is never sent to a server.
More utilities that also run without leaving your browser.