Convert binary strings (base-2) into decimal (base-10), hexadecimal, and octal values.
Runs on your device. Nothing you add is uploaded.
Digits 0 and 1 (spaces or 0b prefix allowed)
Decimal (base 10)
42
Hexadecimal (base 16)
0x2A
Octal (base 8)
0o52
How to use Binary to decimal
- Paste or type a binary number (spaces and 0b prefixes are ignored).
- Group digits with spaces if that makes them easier to read.
- Read the exact decimal, hex, and octal equivalents immediately.
Questions
Yes. Spaces and underscores are stripped automatically before decoding.
Yes, prefix a minus sign (e.g. -1010) for signed magnitude decoding.
How this works
Decodes binary strings locally using exact BigInt base conversion.
Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. What you typed and your settings are kept in this browser so the tool opens the way you left it, except passwords, keys and tokens, which are never saved. Privacy
Related tools
More in CalculatorsDecimal to binaryDecimal binaryBinary calculatorAdd, subtract, multiply, divide, and run bitwise AND/OR/XOR operations on binary integers of any length.Number baseConvert integers between any base from base-2 (binary) up to base-36 (alphanumeric).Age CalculatorFind your exact age in years, months, and days, plus total days lived and your next birthday countdown.BMI CalculatorCalculate your Body Mass Index (BMI) in metric or imperial units with WHO weight categories.Mortgage CalculatorEstimate your monthly mortgage payment, total interest, optional housing costs, and yearly amortization schedule.