Decimal to Binary Converter

Convert decimal numbers to binary, with hex and octal alongside.

—
Hex
—
Octal

Fractional parts are converted with up to 24 binary places. Binary is position-2 notation: 1011 = 1·8 + 0·4 + 1·2 + 1·1 = 11.

How to use the Decimal to Binary tool

  1. Enter your decimal to binary in the fields above.
  2. Adjust any slider or type an exact number — the answer updates as you go.
  3. Copy the result and close the tab. Nothing you entered was sent anywhere.

About the Decimal to Binary tool

Type a decimal number and the binary form appears instantly, with optional 4-bit or byte grouping and 0x hex and 0o octal values as a bonus.

Binary is position-2 notation, so each digit doubles its weight from right to left — 1011 is 8+0+2+1 = 11.

Everything runs locally in your browser: no data is uploaded, no account is needed, and it works offline once the page has loaded.

Embed this tool

Customize and copy an iframe. Linking back helps both sites.

Open preview