Skip to main content
ConvertUnitOnline

Decimal to Binary

Convert decimal to binary instantly. Enter a valid integer — results update live with exact BigInt precision.

Instant Private Free
Number bases Positional notation BigInt exact

255 decimal = 11111111 binary

Unit
Unit
Format

Conversion table

Selected Decimal values converted to Binary using exact positional base math.

Decimal Binary
0 0
1 1
9 1001
10 1010
255 11111111

How to convert

Positional base conversion in both directions, plus a worked example.

binary = convert(decimal digits → integer → binary digits)

decimal = convert(binary digits → integer → decimal digits)

Positional bases use place values, not a single multiplier. Each decimal digit is parsed against base 10, converted to an exact integer, then written in binary.

To go the other way, parse binary digits, convert to the same integer, and format in decimal. The live converter handles both directions.

Worked example on this page:

10 decimal = 1010 binary

About these units

Short background on the units used in this conversion.

Decimal (Base-10)

Decimal (Base-10) uses positional notation in base 10. Each digit position represents a power of the base — this is notation, not a currency or measurement unit.

Decimal is everyday base-10 counting — the default human number system.

Binary (Base-2)

Binary (Base-2) expresses the same integer value using a different radix. The numeric value is identical; only the digit representation changes.

Binary output shows the exact bit pattern for a decimal or hex value.

Frequently asked questions

How do I convert decimal to binary?
Enter a valid decimal integer in the From field. The converter parses each digit against the source base, converts through an exact BigInt value, and formats the result in binary. Example: 10 decimal = 1010 binary.
What happens if I type an invalid digit?
Invalid digits are rejected with an inline message — for example, "2" in binary or "G" in hexadecimal — instead of showing a misleading result.
Is this Decimal to Binary converter private?
Yes. All calculations run locally in your browser. Nothing you type is sent to a server.

All base_10 conversions

Jump to any number base conversion starting from base_10 — including the reverse direction and every other unit in our dataset.