Decimal to Binary Converter

Convert decimal (base 10) numbers to binary (base 2) instantly. Supports very large numbers, negative values and shows step-by-step working.

Result

Binary
101101
Hex
2D
Octal
55
Bit length
6
Working (read remainders bottom-up)
45 ÷ 2 = 22 r 1
22 ÷ 2 = 11 r 0
11 ÷ 2 = 5 r 1
5 ÷ 2 = 2 r 1
2 ÷ 2 = 1 r 0
1 ÷ 2 = 0 r 1
✓ Free⚡ Instant🔒 Runs in your browser📱 Mobile friendly∞ No limits

How to use the Decimal to Binary Converter

  1. Type or paste your value into the input above.
  2. The result is calculated instantly as you type — no button needed.
  3. Press Copy to copy any result, or Example to see a worked example (45).

How decimal to binary works

Every digit in a decimal (base 10) number has a place value that is a power of 10. The converter first computes the exact integer value using arbitrary-precision arithmetic, then repeatedly divides by 2 and reads the remainders to produce the binary (base 2) result. Because it uses BigInt there is no rounding, even for numbers hundreds of digits long.

Frequently asked questions

How do I use the Decimal to Binary Converter?

Enter your value in the box above. The result updates instantly as you type. Use the Copy button next to any result to copy it, Example to load a sample, or Clear to start again.

Is this decimal to binary tool free?

Yes. Binary Tool Hub is completely free, needs no sign-up and has no usage limits.

Is my data private?

Yes. Every calculation runs locally in your browser with JavaScript. Nothing you type is uploaded to a server.

Does it work on mobile?

Yes. The Decimal to Binary Converter works on iPhone, Android, tablets and desktop browsers, and even offline once the page has loaded.

How does the decimal to binary conversion work?

Every digit in a decimal (base 10) number has a place value that is a power of 10. The converter first computes the exact integer value using arbitrary-precision arithmetic, then repeatedly divides by 2 and reads the remainders to produce the binary (base 2) result. Because it uses BigInt there is no rounding, even for numbers hundreds of digits long.