Loading...
Loading...
Paste binary numbers - one per line or space-separated - and get decimal equivalents immediately. No button to click, no page reload.
Binary code (0s and 1s)
Base-10 decimal representation
Decimal is the number system you use every day. It has ten digits - 0 through 9 - and each position in a number represents a power of ten. The rightmost digit is the ones place (10โฐ), the next is the tens place (10ยน), then hundreds (10ยฒ), and so on.
Binary works the same way, but with only two digits: 0 and 1. Each position represents a power of two instead of ten. The rightmost bit is 2โฐ (which equals 1), the next is 2ยน (which equals 2), then 2ยฒ (4), then 2ยณ (8), and so on. Every digital system - from CPUs to network protocols to file systems - stores and transmits data in binary at the lowest level.
To convert binary to decimal by hand, multiply each bit by its corresponding power of two and sum the results. For example, 1011 in binary equals (1 x 8) + (0 x 4) + (1 x 2) + (1 x 1) = 11 in decimal. The tool above handles this for any number of values at once, saving you from manual arithmetic.
Memory dumps from debuggers and hex editors often show raw binary data alongside decimal offsets. Being able to read binary values as decimal numbers helps you verify that a register holds the expected integer value, or that a flag byte is set correctly.
Network protocol analysis is another frequent case. Packet capture tools like Wireshark can display protocol fields in binary. If you are inspecting a TCP flags byte or an IP header field, converting the binary representation to decimal lets you cross-reference it against RFC values or library constants in your code.
Hardware documentation and microcontroller datasheets regularly express register values and bitmasks in binary. Translating those to decimal makes it easier to compare against the integers your firmware uses. You can paste an entire block of register maps here and convert them all at once.
Type or paste one binary number per line, or separate values with spaces. The converter handles both formats. Leading zeros are accepted and ignored during conversion, so 00001101 and 1101 both produce 13. Invalid characters - anything other than 0 and 1 - are flagged inline so you can spot errors without losing the rest of your results.
Output updates live as you type. You can copy individual results with a single click, or copy the full output list to paste into a spreadsheet, terminal, or document.
What is the largest binary number this converter handles?
The converter uses JavaScript's built-in number parsing, which safely handles binary strings up to 53 bits (integers up to 2โตยณ minus 1 without precision loss). For larger values, results may lose accuracy due to floating-point limits.
Can I convert negative binary numbers?
This tool converts unsigned binary to decimal. Negative values in two's complement notation require knowing the total bit width first. The most significant bit represents a negative power of two in that system; the tool does not apply that interpretation automatically.
Does the input need to be padded to 8 bits?
No. You can enter any length binary string and the converter will produce the correct decimal value. Padding zeros on the left do not change the result, so 00001101 and 1101 both convert to 13.