About the Binary to Decimal Converter
This tool converts a binary number you type into decimal, hexadecimal, octal, a two's-complement signed value and the bit count. Results update instantly as you type; there is no calculate button. The tool runs in your browser and you do not upload files or data. You can copy any result to the clipboard and create a share link that reopens the page with your input. The input accepts a plain binary string; the tool treats the leftmost bit as most significant. Use the signed option to interpret the bits as a two's-complement value at the chosen width.
How to use it
- 1Enter a binary number in the input box
- 2Pick the signed bit width if you want a two's-complement value
- 3Watch decimal, hexadecimal, octal and bit count update as you type
- 4Copy a result or create a share link that reopens with your number
Worked example
Input: 11001010. Decimal: 202. Hexadecimal: CA. Octal: 312. Signed (8-bit two's-complement): -54. Bits: 8.
How it works
Each binary digit is worth twice the one to its right: 1, 2, 4, 8, 16 and so onAdd the values where there is a 111001010 = 128 + 64 + 8 + 2 = 202Two's complement reads the leftmost bit as negative (minus 2 to the power of bits minus 1)Source: Positional notation and binary conversion (Wikipedia)Binary to Decimal conversion guide (RapidTables). Last checked 7 November 2026.
What it is good for
- Instant results as you type with no calculate button
- Shows decimal, hexadecimal, octal, signed two's-complement and bit count
- Runs in your browser; you do not upload files
- Does not decode IEEE 754 floating point bitfields or fractional binary points
- The site does not state a guaranteed maximum input length for extremely long bit strings
Questions people ask
What input formats does the tool accept?
Enter a plain binary string made of 0 and 1 digits. You can include spaces for readability. The tool treats the leftmost digit as the most significant bit.
How does the two's-complement signed value work here?
Pick a bit width and the tool interprets the bits in two's-complement form. If the leftmost bit is 1, the value is negative and equals minus 2^(width-1) plus the lower-bit sum.
Can I convert fractional binary like 101.011?
No. This converter treats the input as an integer bit string. It does not decode binary fractions or IEEE 754 float encodings.
Will my input leave my browser?
No upload is required. The converter runs in your browser. You can copy results or create a share link to reopen the page with your input.
Can I copy results or share my conversion?
Yes. Each output has a copy action. You can also create a share link that opens the page with your binary value prefilled.
How large a binary number can I convert?
The site does not publish a fixed limit. Very long inputs may be limited by your browser or the JavaScript engine used to run the tool.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.