- No data uploaded
- Instant results
Decimal to Binary Converter
Enter a decimal number to convert it to binary immediately. Paste multiple values (one per line) for bulk conversion. Arbitrary-precision math means even 128-bit values convert exactly.
Decimal to Binary Converter
How to convert decimal to binary
Decimal (base 10) is the everyday number system, using digits 0–9. Binary (base 2) uses only the digits 0 and 1 and is how every value is ultimately stored in hardware.
Worked example converting 214:
- Repeatedly divide 214 by 2 and read the remainders bottom-up to get 11010110.
- Result:
214(decimal) =11010110(binary).
Accepted input formats
- Optional prefixes:
0b(binary),0o(octal),0x(hex). - Spaces, commas and underscores are ignored, so
1101_0110works. - A leading minus sign converts negative values (sign-magnitude, not two's complement).
- Hexadecimal is case-insensitive; output is upper-case.
Decimal to Binary reference table
| Decimal | Binary |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| 10 | 1010 |
| 11 | 1011 |
| 12 | 1100 |
| 13 | 1101 |
| 14 | 1110 |
| 15 | 1111 |
| 16 | 10000 |
| 32 | 100000 |
| 64 | 1000000 |
| 100 | 1100100 |
| 128 | 10000000 |
| 255 | 11111111 |
| 256 | 100000000 |
| 1024 | 10000000000 |
| 4096 | 1000000000000 |
| 65535 | 1111111111111111 |
Frequently asked questions
What is 214 in binary?
214 in decimal equals 11010110 in binary.
Is there a size limit?
No practical limit. The converter uses JavaScript BigInt, so values with hundreds of digits convert exactly without rounding.
Is my data sent to a server?
No. The conversion runs entirely in your browser; nothing you type is uploaded.