Back to All Tools

Decimal to Binary Converter

Convert decimal numbers to binary (base-2) representation instantly.

About Decimal to Binary Converter

The Decimal to Binary Converter transforms decimal (base-10) numbers into binary (base-2) format. This is a fundamental conversion in computer science and digital electronics.

Simply enter a decimal number and get its binary equivalent. Supports both positive and negative integers, with options for bit length padding.

Input

Binary Result

Binary result will appear here

How to Use

1

Enter Decimal

Type one or more decimal numbers separated by spaces, commas, or newlines.

2

Select Bit Length

Optionally pad the output to 8, 16, or 32 bits.

3

Convert

Click "Convert to Binary" to see the binary result.

Frequently Asked Questions

How do I convert decimal to binary?

Divide the number by 2 repeatedly, recording the remainder each time. Read the remainders from bottom to top. For example: 42 ÷ 2 = 21 r0, 21 ÷ 2 = 10 r1, 10 ÷ 2 = 5 r0, 5 ÷ 2 = 2 r1, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1 → 101010.

What is 255 in binary?

255 in binary is 11111111. This is the maximum value that can be represented with 8 bits.

How are negative numbers represented?

Negative numbers use a minus sign prefix in this tool. In computer systems, negative numbers are typically stored using Two's Complement representation.

Is this tool free?

Yes, 100% free and runs entirely in your browser.