Boneyard Tools

Decimal to Binary Converter

Type a whole number to see its binary form instantly. Handles very large values exactly with arbitrary precision. Your input stays in your browser.

How to convert decimal to binary

  1. Type or paste a non-negative whole number, like 255.
  2. Read the binary (base-2) result below as you type.
  3. Copy the binary output with one click.

Examples

Convert 255 to binary

255
11111111

Frequently asked questions

How do you convert a decimal number to binary?

Repeatedly divide the number by 2 and record each remainder. Reading the remainders from last to first gives the binary digits. This tool does that for you instantly.

Does it work with very large numbers?

Yes. The conversion uses arbitrary-precision integers, so values far beyond 64 bits convert exactly without rounding or losing digits.

Can I convert negative numbers or decimals like 12.5?

No. This converter accepts non-negative whole numbers only. Signs and decimal points are rejected with an Invalid number message.

What does a binary number actually represent?

Binary is base-2: each digit is a power of two, doubling from right to left (1, 2, 4, 8, ...). So 1010 is 8 + 0 + 2 + 0, which equals 10 in decimal.

Why is the binary for zero just 0?

Zero has no set bits, so its shortest binary representation is a single 0. Leading zeros on other numbers are dropped too.

Is my number sent to a server?

No. The conversion runs entirely in your browser, so nothing you type leaves your device.

Related tools