Decimal to Binary

A decimal number written out in bits, octal and hex.

FREE - NO SIGN-UP - RUNS ON YOUR DEVICE

Numbers are converted where you typed them

  • 1entry, four readings
  • Livebits as you type
  • 0values sent
  • Freeno sign-up
Specification

Decimal to Binary at a glance

Input base
Decimal
Accepted values
Whole numbers, zero or above
Output
Binary, octal and hexadecimal
Reverse
Reverse by setting binary as input
Processing
Runs locally in your browser
Price
Free
Account required
No
How to

How to use Decimal to Binary

  1. 1

    Set the base to decimal

    Set the input base to decimal.

  2. 2

    Type the number

    Enter a whole number.

  3. 3

    Take the bits

    Copy the binary line.

Questions

Frequently asked questions

Where does the binary appear?

On its own line with the other three readings. There is no separate binary mode to switch into; the line is filled in as soon as a number is entered.

Can I type a negative number?

No. The panel reads whole numbers of zero or above, so a minus sign is outside what it accepts.

Do I need to press anything?

No. The four readings recalculate on each keystroke, so the binary form is ready as soon as you stop typing.

Is anything sent while I type?

No. The digits are converted by the page itself, so they stay in the tab and are not stored after you leave.

Background

From a decimal number to bits

Tell the panel your digits are decimal, then type a whole number of zero or more. The binary line fills in as you go, and the octal and hexadecimal lines with it.

  • The input base is the setting that decides how your digits are read, so it comes first.
  • Binary, octal and hexadecimal are all views of the same value, which is why they move together.
  • The panel works with whole numbers, so anything after a decimal point has no place here.
  • Reloading the page clears the entry, since nothing typed is kept.

Full specification

Specification of the Decimal to Binary tool
Input baseDecimal, chosen so your digits are read as an ordinary number.
Accepted valuesWhole numbers of zero or above. A minus sign or decimal point is outside what it reads.
OutputThe binary form, together with the octal and hexadecimal forms of the same number.
ReverseSet the input base to binary instead and the decimal line becomes the answer.
ProcessingAll calculations run locally in the current browser tab.
PriceFree
Account requiredNo
Next step

Keep going with the same files

All convert tools: Convert tools on SPOTTOOLS