Ctrl+K
Decimal to Binary Converter
๐ Runs in your browser โ nothing is sent to a serverConvert a decimal integer to its binary representation. The number is divided by 2 repeatedly and the remainders, read bottom-up, form the bits โ so 10 becomes 1010 and 255 becomes 11111111. Useful when designing bitmasks, configuring hardware registers, studying digital logic gates or just learning how computers store integers. Negative values keep a leading minus sign; for twoโs-complement representation choose a fixed bit width and add the sign bit yourself.
Decimal (10)
Allowed: 0โ9
Binary (2)
Allowed: 0 and 1
Decimal (10) โ Binary (2)
Quick reference table
| Decimal (10) | Binary (2) |
|---|---|
| 1 | 1 |
| 2 | 10 |
| 5 | 101 |
| 10 | 1010 |
| 16 | 10000 |
| 32 | 100000 |
| 64 | 1000000 |
| 100 | 1100100 |
| 128 | 10000000 |
| 255 | 11111111 |
| 256 | 100000000 |
| 1024 | 10000000000 |
Glossary
Related tools
Binary to Decimal
Convert binary numbers (base 2) to decimal โ with BigInt support
Decimal to Hex
Convert decimal integers to hexadecimal โ with optional uppercase output
Decimal to Octal
Convert decimal integers to octal (base 8) โ chmod-friendly output
Number Base Converter
Convert integers between binary, octal, decimal and hexadecimal โ with full BigInt support
