⭐ 0

Decimal to Binary Converter

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

Processed entirely in your browser — nothing you enter here is ever uploaded.

Processing... 0%

Result

About this tool

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.

Example. Decimal 255 converts to hexadecimal ff, binary 11111111, and octal 377.

Limit. The only bases are 2, 8, 10, and 16, and a digit that does not belong in the source base is rejected.