CodeUtils
Loading…

Convert integers between decimal, hexadecimal, binary, and octal simultaneously. All four representations update as you type in any field.

Use Cases

  • Interpreting memory addresses and register values in hexadecimal
  • Understanding bitfield masks in binary when working with embedded systems
  • Converting RGB colour channels between decimal and hex
  • Cross-checking base conversions when reading assembly output

Example

Input
255 (decimal)
Output
Hex:    FF
Binary: 11111111
Octal:  377

FAQ

Is there a size limit on the numbers?

The tool supports integers up to 64 bits. Very large values are handled using BigInt.

Can I enter hex values with a 0x prefix?

Yes. Both 0xFF and FF are accepted in the hex field.