How to convert decimal to hexadecimal
Read a number from a log in another base. The input may use only digits that exist in the source base.
Steps
Paste the input into the form and choose a mode if one is offered. Check the result before copying or saving it.
Example
255 (10) → ff (16)1010 (2) → 10 (10)What to check
Hexadecimal uses A–F after 9. If a number starts with 0x, check whether the input expects that prefix or a separately selected base.
Common tasks and examples
Start with a small sample. Compare the structure before and after a format conversion, or check that only the intended characters changed in a text operation.
ff (16) → 255 (10)1111 (2) → f (16)17 (8) → 15 (10)
Task reference
- 2 → 10
- Settings: Input: 1010 · What to expect: 10
- 10 → 16
- Settings: Input: 255 · What to expect: ff
- 16 → 2
- Settings: Input: f · What to expect: 1111
- 8 → 10
- Settings: Input: 17 · What to expect: 15
- 10 → 36
- Settings: Input: 35 · What to expect: z
- 36 → 10
- Settings: Input: z · What to expect: 35