Decimal to Binary
Convert decimal numbers to binary — any size, with exact BigInt math.
How to use Decimal to Binary
- Type a decimal number into the input box — e.g. 255. Multiple numbers separated by spaces convert together.
- Read the binary result instantly in the output box: 255 → 11111111.
- Check the error line if nothing appears — letters or symbols in the input are flagged with the exact bad token.
- Click “Copy result” to paste the binary into your notes, code or homework.
What is Decimal to Binary?
A decimal to binary converter rewrites an ordinary base-10 number in base 2 — the number system computers use, where every place is worth twice the one to its right and the only digits are 0 and 1. The decimal number 25 becomes 11001: one 16, one 8, no 4, no 2, one 1.
The manual method is repeated division by 2, collecting remainders in reverse: 25 ÷ 2 = 12 r 1, 12 ÷ 2 = 6 r 0, 6 ÷ 2 = 3 r 0, 3 ÷ 2 = 1 r 1, 1 ÷ 2 = 0 r 1 → read remainders upward: 11001. That is exactly what this tool automates — for numbers of any size.
About the Decimal to Binary
Type a decimal number and its binary form appears instantly. Paste several numbers separated by spaces and each converts on its own — handy for homework sets and data tables.
Unlike calculators that overflow past 2⁵³, this converter uses BigInt arithmetic, so a 50-digit decimal converts exactly. Programmers use it for bit masks and flags (decimal 255 = 11111111, a full byte), networking students for subnet math (192 = 11000000, the start of every 192.168.x.x address), and CS students to learn positional notation.
Everything runs in your browser. The reverse direction is our Binary to Decimal converter, and Decimal to Hex handles the base-16 sibling.