0

Decimal to Binary Converter

Convert numbers between binary, octal, decimal and hexadecimal — arbitrary size, entirely in your browser.

Processing... 0%
Validating digits
Converting between bases
Done

Result

This page opens the number base converter preconfigured to translate decimal (base 10) numbers into binary (base 2) — enter a regular number and run it.

The classic method is repeated division by two, collecting the remainders: 13 ÷ 2 leaves 1, 6 ÷ 2 leaves 0, 3 ÷ 2 leaves 1, 1 ÷ 2 leaves 1 — read the remainders backwards and 13 becomes 1101.

Need another direction? The full converter handles binary, octal, decimal and hexadecimal both ways, shows the value in all four bases and, thanks to BigInt, takes numbers of any length — all computed privately in your browser.