Four bases, one exact calculation
Number Base Converter
Convert binary, octal, decimal and hexadecimal numbers online, with grouping, place values and step-by-step calculations.
Exact integers · No roundingInput
Enter a number
Supports +/− signs, 0b/0o/0x prefixes and underscores between digits. Up to 256 digits.
Results
All four representations
Copy a value or open its calculation below.
Calculation
How this result is calculated
Choose a target base to see the positional expansion and repeated-division method.
Exact conversion across four common bases
Convert signed integers among base 2, base 8, base 10 and base 16 without floating-point rounding, while seeing every representation together.
Enter once, then inspect the method
Choose the input base, type a value and select any result. The page expands source digits by place value, then shows repeated division for the chosen target base.
Method and sources
The local JavaScript module parses each digit into a BigInt integer. Positional expansion verifies the decimal value, and repeated whole-number division produces binary, octal and hexadecimal digits without floating-point rounding.
Frequently asked questions
What can Number Base Converter do?
Convert signed integers among base 2, base 8, base 10 and base 16 without floating-point rounding, while seeing every representation together.
How do I use Number Base Converter?
Choose the input base, type a value and select any result. The page expands source digits by place value, then shows repeated division for the chosen target base.
Does Number Base Converter upload my data?
The tool runs in your browser. Your selected files, entered content and generated results are not sent to Zituo Tools.