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
- Type or paste your binary number. Only 0s and 1s are allowed.
- Read the decimal result, which updates as you type.
- 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
Decimal to Binary
Convert decimal numbers to binary online. Type a whole number and get its base-2 value instantly, even for very large numbers. Runs in your browser.
Hex to Decimal
Convert hex to decimal online. Paste a hexadecimal value, with or without a 0x prefix, and get the exact base 10 number. Runs in your browser.
Binary to Hex
Convert binary to hexadecimal online. Paste a binary number and get exact hex, with optional uppercase. Handles huge values. Runs in your browser.
Celsius to Fahrenheit
Convert Celsius to Fahrenheit instantly. Type a temperature in C and get F, with the formula and a quick reference table. Runs in your browser.
Centimeters to Inches
Convert centimeters to inches instantly. Type a length in cm and get inches, with the formula and a quick reference table. Runs in your browser.
CSV to JSON
Convert CSV to JSON online. Turn spreadsheet rows into clean JSON objects or arrays, with smart number and boolean typing. Free tier plus API.