Skip to main content
Data / Number / Computer Science Tools

Decimal to Binary Converter

Convert a decimal number to its exact binary representation, with the conversion steps shown.

Enter a decimal number below - this tool converts it to binary exactly, and can show the repeated-division steps used.

For the reverse direction, see the Binary to Decimal Converter - or the Number Base Converter for other bases.

How Decimal-to-Binary Conversion Works

The classic method repeatedly divides the number by 2, recording each remainder (0 or 1) - reading the remainders from last to first gives the binary representation.

How to Use It

  1. Enter a non-negative integer.
  2. The binary equivalent appears instantly, with the conversion steps available to review.

Limitations

This handles arbitrarily large integers accurately using BigInt - negative numbers aren't converted here, since binary representation of negatives (two's complement) depends on a chosen bit width, which the Bit Shift/Bitwise tools address more directly.

Share this tool: