Decimal to hexadecimal converter

Enter a whole decimal number.

Convert a decimal number to hexadecimal.

Input

Result

About this tool

The decimal to hexadecimal converter rewrites a whole base 10 number in base 16. Use it to check byte values, translate color channel numbers, or compare an identifier with a hexadecimal value in a log. Hexadecimal is shorter than binary and appears often in programming and web design. Enter a positive or negative decimal integer to get its matching hexadecimal representation.