Integer Conversion

Convert integers between hexadecimal and decimal

Hex → Decimal
Convert hexadecimal (e.g., ff) to decimal

0x prefix will be stripped automatically

Decimal → Hex
Convert decimal (e.g., 255) to hexadecimal

Please enter a positive integer

About integer radix conversions
  • Hexadecimal uses digits 0-9 and A-F to represent numbers in base-16.
  • Example: ff (hex) = 255 (decimal)
  • Hex pairs well with binary used internally by computers.
  • Common for memory addresses, color codes, and programming tasks.