Binary ↔ Decimal ↔ Hex Converter
Type in any one field — the other two update instantly. Supports very large integers via BigInt.
Only 0/1 digits (with optional 0b prefix / minus sign) allowed.
Only digits (with optional minus sign) allowed.
Only 0-9 A-F digits (with optional 0x prefix / minus sign) allowed.
Conversion Summary
Binary
101011
Decimal
43
Hexadecimal
2B
Bit Length
6
Approx. Bytes
1
History
Related Tools
Frequently Asked Questions
Can I enter negative numbers?
Yes — prefix any field with a minus sign (e.g. -101011 or -2B) and the other two fields will show the correctly signed conversion.
Does it support very large numbers?
Yes — conversions use JavaScript’s BigInt type internally, so arbitrarily large integers (beyond the 53-bit safe integer limit) convert accurately.
What do the 0b and 0x prefixes mean?
0b is the common prefix denoting a binary literal, and 0x denotes a hexadecimal literal. Toggle the “Show prefixes” option to include or omit them in the output fields.
What is “bit length”?
Bit length is the number of binary digits required to represent the value (ignoring sign), used here to estimate the approximate byte size of the number.