Convert Decimal to Binary

Enter a Decimal number to get its Binary value — plus every other common base. Exact even for huge integers, all in your browser.

Worked example

255 in Decimal converts to 11111111 in Binary. The converter above is pre-filled with this value — edit it to see the result update live.

Decimal to Binary reference table

DecimalDecimalBinary
10 10 1010
16 16 10000
32 32 100000
100 100 1100100
255 255 11111111

Common uses

Required for encoding standard integers into machine-level bits for networking or low-level logic operations.

Related conversions

Need another base? The full number base converter handles any base from 2 to 36 and converts them all simultaneously.

Frequently asked questions

How do I convert Decimal to Binary?

Enter your Decimal value into the converter above and it shows the Binary equivalent — along with every other base — instantly. For example, 255 in Decimal becomes 11111111 in Binary.

Can it handle very large numbers?

Yes. The converter uses arbitrary-precision math, so even numbers with hundreds of digits convert exactly without the rounding errors you'd get from a normal calculator.

Is my data sent to a server?

No. Every conversion runs locally in your browser using standard JavaScript BigInt math, so nothing you enter is uploaded.