Turn any decimal (base-10) number into binary. Type one number or several separated by spaces — each converts independently.
Click any example to load it into the converter above — the binary appears instantly.
Binary uses only the digits 0 and 1. Convert by repeatedly dividing by 2 and reading the remainders backwards.
Take the decimal number and divide it by 2. Record the quotient and the remainder (0 or 1).
Repeat the division on each new quotient, collecting the remainders until the quotient reaches 0.
The binary result is the sequence of remainders read from the last one back up to the first.
Memorize this small table and you can convert most small numbers by sight.
| Decimal | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| 10 | 1010 |
| 15 | 1111 |
Binary numbers also map directly onto plain text and hexadecimal — useful once you're past raw numbers.
Convert binary numbers to base-10, step by step.
Open tool →Text ↔ binary, bidirectional, ASCII or UTF-8.
Open tool →Convert binary bytes to hexadecimal and back.
Open tool →Every ASCII character with decimal, hex & binary.
Open tool →