Binary tools
Turn 0s and 1s into text and numbers, or turn text, pictures and IP addresses into binary. Every tool runs in your browser.
Click any bit. Add the place values of the 1s and you get the decimal number.
Runs in your browser. Nothing you type is uploaded.
Text and binary
For binary that is meant to say something.
Binary numbers and other bases
For binary that stands for a quantity.
Special binary formats
For pictures, network addresses and codes used in hardware.
What kind of binary do you have?
Match what you see to a tool before you paste it.
| It looks like | Example | It is probably | Tool to use |
|---|---|---|---|
| Groups of 8 digits with spaces | 01001000 01101001 | Text, one character per group | Binary translator |
| Groups of 7 digits | 1001000 1101001 | Text from an older 7-bit puzzle or course | Binary translator, which pads each group to 8 bits |
| One short run of digits | 101101 | A number, here 45 | Binary to decimal |
| Digits after 0b | 0b1101 | A number written in code, here 13 | Binary to decimal |
| Four groups of 8 joined by dots | 11000000.10101000.00000001.00000001 | An IPv4 address, here 192.168.1.1 | IP to binary |
| Groups of 4 that never go above 1001 | 0101 1001 | BCD, one decimal digit per group, here 59 | BCD converter |
| Hundreds of rows of the same length | 0011110001000010 | A small picture drawn in pixels | Image to binary |
Which binary tool do you need?
Binary is base 2. Each digit is a bit, and each place is worth twice the one to its right: 1, 2, 4, 8 and so on. Eight bits make a byte, which holds a value from 0 to 255. One byte is enough for one English letter in ASCII, which is why the text tools read binary in groups of eight.
Start from what you have. A long string of 0s and 1s that should say something goes into the translator. A single binary number that stands for an amount goes into binary to decimal. Bytes from a network capture or a file usually arrive as hex, so binary to hex and back is the common next step.
Frequently asked questions
What is binary?
Binary is a way of writing numbers with two digits, 0 and 1. Computers use it because a circuit only has to tell two states apart, on and off. Each digit is a bit, and eight bits make a byte.
How do you read binary?
Give each bit a place value that doubles from the right: 1, 2, 4, 8, 16, 32, 64 and 128. Add the values wherever there is a 1. 01001000 is 64 + 8 = 72, which is the letter H in ASCII. The guide to reading binary has more worked examples.
How are binary and decimal alike, and how are they different?
Both are place-value systems, so a digit is worth more the further left it sits. Decimal uses ten digits and each place is worth ten times the one to its right. Binary uses two digits and each place is worth twice as much. That is why the same number needs more digits in binary: 255 takes three digits in decimal and eight in binary, 11111111.