Boneyard Tools

Binary to Decimal Converter

Paste a binary number to get its decimal value instantly. Spaces are ignored and very large numbers convert exactly. Everything runs in your browser.

How to convert binary to decimal

  1. Type or paste your binary number. Only 0s and 1s are allowed.
  2. Read the decimal result, which updates as you type.
  3. Copy the decimal value with one click.

Examples

One byte

11111111
255

Grouped binary

1010 1010
170

Frequently asked questions

How does converting binary to decimal work?

Each binary digit is a power of two. Reading right to left, the digits stand for 1, 2, 4, 8 and so on. Add the powers where the digit is 1. For example 1010 is 8 + 0 + 2 + 0, which is 10.

Is there a maximum size or number of digits?

No practical limit. The converter uses arbitrary-precision integers, so even hundreds of binary digits convert to the exact decimal value with no rounding.

Do leading zeros change the result?

No. Leading zeros do not affect the value, so 00001010 and 1010 both convert to 10.

Can I include spaces in the binary number?

Yes. Spaces, tabs and line breaks are stripped before converting, so grouped input like 1010 1010 works the same as 10101010.

What exactly is a binary number?

Binary is base 2, the number system computers use. It has only two digits, 0 and 1, where each position is worth twice the one to its right. Decimal is base 10 and uses digits 0 through 9.

Is my data sent to a server?

No. The conversion happens entirely in your browser, so the numbers you enter never leave your device.

Related tools