ConvertEasy
Offline

Number bases

Decimal to binary converter

Paste a decimal number to see it in binary and every other base.

42 in decimal = 101010 in binary.

Decimal to binary table

Decimal to binary
DecimalBinary
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
111011
121100
131101
141110
151111
1610000
32100000
641000000
1001100100
12810000000
25511111111
256100000000
10001111101000
102410000000000

Questions and answers

How do I convert decimal to binary?

Divide by 2 repeatedly and read the remainders from last to first. 42 is 101010 in binary.

How big a number can I convert?

Any size. ConvertEasy uses arbitrary-precision integers (BigInt), so 256-bit hashes and addresses convert exactly.