Skip to content

Decimal to Hex Converter

Turn everyday decimal integers into hexadecimal. Optionally show the calculation steps—useful for homework and learning.

Select target format:

Enter data to convert...

Decimal Input Data

Hexadecimal Conversion Result

Conversion Options

Examples

InputOutputNote
255FFCommon byte max
1610Carry boundary
4095FFFLarger decimal

FAQ

How do I convert decimal to hex?
Enter an integer and convert. Enable the process view to see successive division by 16 and remainders.
Can I use uppercase or a 0x prefix?
Yes. Options let you switch case and add a 0x prefix, then convert again.

Instructions

  1. Paste or type your Decimal data in the input box.
  2. Choose options if needed (grouping, prefix, endianness, encoding).
  3. Click Convert and review the Hexadecimal result.
  4. Copy the output. Everything runs locally in your browser.

Format Description

Decimal

Decimal is our everyday number system, using digits 0-9.

  • Uses digits 0-9
  • Most commonly used numbering system by humans
  • Each position has a weight of powers of 10
  • Example: 123 = 1×10² + 2×10¹ + 3×10⁰

Hexadecimal

Hexadecimal uses 16 symbols: 0-9 and A-F (or a-f), widely used in programming and computer science.

  • Uses digits 0-9 and letters A-F (or a-f)
  • Commonly used for memory addresses and color values
  • Each hex digit represents 4 binary bits
  • Often uses '0x' prefix, such as '0x1A3F'
Decimal to Hex Converter - Free Online Base Tool