Decimal to Hex Converter: Convert Decimal to Hexadecimal
Enter a decimal number and get the hexadecimal equivalent right away. The converter handles single values and long lists, and returns clean uppercase or lowercase hex depending on what you need.
Convert Decimal to Hexadecimal in One Step
By hand you divide by sixteen repeatedly and read the remainders backwards, swapping 10 to 15 for A to F as you go. The decimal to hex converter does all of that at once, including the letter substitution.
Read moreChoose the Output Format You Need
Some codebases want uppercase hex, some want lowercase, and some want a 0x prefix. Pick the format before you copy, rather than hand-editing the result afterwards.
Build Colour Codes From Numbers
RGB values are decimal but CSS colours are hex. Converting decimal to hexadecimal is the step between the two, and doing all three channels at once here is faster than running a colour picker.
Convert Whole Lists at a Time
Paste a column of decimal values and get the hex column back in the same order. Useful for documentation tables, lookup charts and anything where you need dozens of conversions rather than one.
A Hex Calculator for Everyday Work
Error codes, offsets, byte counts and limits all tend to be written in hex even when they are calculated in decimal. Having a converter open saves constant mental gear-changing.
Accurate on Large Values
Big numbers produce longer hex strings and nothing else changes. There is no rounding, no truncation and no precision loss however large the input gets.
Private by Default
The conversion happens in your browser. Nothing is uploaded and nothing is kept once the tab closes.
How to Convert Decimal to Hex
Enter your decimal number
Pick your format
Press Convert
Copy the hex value
Decimal To Hex FAQs
Common questions about converting decimal numbers into hexadecimal.
How do you convert decimal to hex?
What is 255 in hexadecimal?
What is 10 in hex?
Should I use uppercase or lowercase hex?
Can I convert a list of numbers at once?
Can I convert hex back to decimal?
Does it handle negative numbers?
Is the decimal to hex converter free?
Want binary or octal too?
Try our Decimal to Binary Converter, or convert the same number with Decimal to Octal.
Decimal to Binary ConverterRaheel Jakhura
CEO / Co-Founder
Our goal is to provide online free tools so you don't have to install any software for basic usages. We are trying to add more tools and make these tools free forever.