Hex to Binary
Hex to Binary: Convert hexadecimal whole numbers to binary without losing integer precision; the selectors also support the other listed bases.
Binary to Hex: Convert binary whole numbers to hexadecimal without losing integer precision; the selectors also support the other listed bases.
Convert binary whole numbers to hexadecimal without losing integer precision; the selectors also support the other listed bases.
Example: Using Integer to convert = 101010; From base = Binary · 2; To base = Hexadecimal · 16, the result is 2A.
How it is calculated: Value = sum of each digit × input-base^(position from the right). Express that exact integer using the selected output base.
The starting view reads base 2 and writes base 16. The value stays the same; only the digit representation changes. Both base menus can be changed.
Positional digits represent powers of the selected base. Binary allows 0–1, octal 0–7, decimal 0–9 and hexadecimal 0–9 plus A–F. Exact BigInt arithmetic avoids ordinary floating-point integer rounding.
101010 in base 2 represents decimal 42, which is 2A in base 16. In binary, 101010 = 32 + 8 + 2.
A leading minus is supported. Up to 4,096 input digits are accepted; signed values are mathematical integers, not two’s-complement bit patterns.
Guidance updated . Methods and corrections
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.