Decimal To Hex | How to use and interpret results
Represent the same integer in decimal, binary, octal or hexadecimal notation. This converts one numeric value rather than the character codes of a text string.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Loading the tool. If it does not appear, reload this page.
How to use this tool
Select the input and output bases and enter digits appropriate to the source base. Keep fractional notation and character-encoding byte strings separate from this integer conversion.
Results and examples
Decimal 255 is hexadecimal FF and binary 11111111. Uppercase changes the letters A through F, without changing the value or imposing a storage bit width.
Worked example
Decimal 255 is hexadecimal FF and binary 11111111. Uppercase changes the letters A through F, without changing the value or imposing a storage bit width.
Limitations
- Fixed-width two's-complement register interpretation is not provided.
- Invalid digits and values beyond safe integer precision are rejected.
Fields
| Field | Guidance and constraints |
|---|---|
| Input base | Check the unit and format displayed beside this field. |
| Output base | Check the unit and format displayed beside this field. |
| Value | Check the unit and format displayed beside this field. |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
What is decimal 255 in hexadecimal?
Decimal 255 is hexadecimal FF and binary 11111111. Uppercase changes the letters A through F, without changing the value or imposing a storage bit width.
Does uppercase change the numeric value?
Fixed-width two's-complement register interpretation is not provided. Check validation messages for prefix and invalid-digit handling.