Home » Developer Tools » Decimal to Hex Converter
Enter a decimal number and get its exact hex value, with the division steps shown.
Whole numbers only. Negative results use a plain minus sign, not two complement form. Conversion runs in your browser, so nothing is uploaded.
Decimal numbers are the everyday base 10 numbers we count with. Hexadecimal, or hex, is base 16, and it is used for colors, memory addresses, and many programming values. The Decimal to Hex Converter turns any whole decimal number into its exact hex value.
Because it uses BigInt arithmetic, even very large numbers convert exactly, with no rounding. The division steps are shown too, so you can check the working or learn the method.
Divide the decimal number by 16 again and again, and write down each remainder. When a remainder is 10 to 15, write it as A to F. Keep dividing the quotient until it reaches 0, then read the remainders from bottom to top. That reading is the hex value.
Yes, it is completely free with no sign up and no limits. You can convert as many numbers as you like.
Yes. Enter a minus sign at the start, for example minus 255, and the result uses a minus sign too, for example minus FF. Negative results here use a plain minus sign, not two complement form.
Yes. The converter uses BigInt arithmetic, so very large whole numbers convert exactly, with no rounding and no 32 bit or 64 bit limit.
No. This tool converts whole numbers only. A decimal point, a comma, or any other character gives a clear error message.
The reverse conversion is hex to decimal. Use the Hex to Decimal Converter to turn a hex value back into a decimal number.
No. All conversion happens in your browser on your own device, so your numbers never leave your computer.
For the reverse direction, try the Hex to Decimal Converter.