Decimal to hexadecimal
255 in base 10
FF
Convert exact integers between binary, octal, decimal, and hexadecimal.
Quick answer
This tool parses an integer using the selected source base and emits the exact value in the target base.
Result
Illustrative view
An arbitrary-precision integer bridges the source and target representation.
This tool parses an integer using the selected source base and emits the exact value in the target base. It supports binary, octal, decimal, and hexadecimal.
The calculation uses arbitrary-precision integers, avoiding the rounding that ordinary floating-point numbers can introduce for large values.
255 in base 10
FF
11111111 in base 2
255
Yes. Place a minus sign before the digits.
No. This converter intentionally supports exact integers only.
No. This tool runs locally in your browser, so the values or files you provide are not sent to a ToolStack server.
Keep going