Converters
Integer Base Converter
Convert integer digits between common bases without first rounding through JavaScript floating-point numbers.
About this tool
When to use it
Convert integer digits between common bases without first rounding through JavaScript floating-point numbers.
How to use it
Select the input and output bases, enter digits without a prefix, and select Convert integer. Copy the result only after checking the base labels. The controls offer binary, octal, decimal, hexadecimal, and base 36.
Guide updated . Examples checked against this implementation.
Worked examples
A byte-sized hexadecimal value
Input
255; From base 10; To base 16Expected output
FFTwo hexadecimal digits represent the decimal value 255. A leading minus sign is supported; fractions are not.
Errors and unsupported input
0xFF with From base 16Remove 0x and enter FF. Prefixes, spaces between digits, decimal points, and separators are not part of this input format.
Continue this workflow
- IPv4 Address Converter: Interpret an unsigned integer specifically as an IPv4 address.
Questions
Frequently asked questions
Can I convert 10.5?
No. This tool handles integers only. Fractional base conversion needs an explicit precision and rounding policy.