Decimal to Hex Converter

Decimal to Hexadecimal Converter

Convert decimal numbers to hexadecimal format - with file upload support

Manual Conversion

Hexadecimal Result:
Waiting for input...

File Conversion

Click to upload a text file

Supports .txt files with one decimal per line

No file selected

About Decimal to Hexn

Hexadecimal is a base-16 number system that uses sixteen distinct symbols: 0-9 to represent values 0 to 9, and A-F to represent values 10 to 15.

To convert decimal to hexadecimal:

  1. Divide the decimal number by 16
  2. Record the remainder (which will be between 0 and 15)
  3. Convert remainders 10-15 to letters A-F
  4. Repeat with the quotient until it reaches zero
  5. The hexadecimal equivalent is the sequence of remainders in reverse order
Decimal Hexadecimal
0 → 0
10 → A
15 → F
16 → 10
255 → FF
1024 → 400
Copied to clipboard!