Skip to content
๐Ÿ”ข

Decimal to Hex Converter

Conversion

Convert decimal numbers to hexadecimal and binary with instant result and copy button.

0
0
Decimal
Converted

Enter a decimal or use Example.

A designer with an RGB value written out as three decimal numbers, 37, 99, 235, needs the hex equivalent to actually use it in CSS, and a decimal memory address pulled from a debugger needs converting to hex to match how the rest of a codebase or a piece of documentation references it, two genuinely different situations that both come down to the same underlying conversion. This tool converts a decimal number into hexadecimal and binary instantly, with a copy button for dropping the result straight into whatever context actually needs it.

See more about the Decimal to Hex Converter

Useful for converting an RGB color's decimal channel values into the hex code a stylesheet requires, matching a decimal memory address from a debugger to hex for cross-referencing documentation, or converting any decimal number into hex without doing the base conversion by hand.

Key features

  • Clean interface
  • Fast processing
  • No signup required
  • Works offline

Quick answers for Decimal to Hex Converter

Can I add a 0x prefix to the hex output?
Yes, a "0x prefix" checkbox adds it to the hex, binary (0b), and octal (0o) results together.
What does "Pad zeros" do?
It pads the hexadecimal result to an even number of digits with leading zeros, useful when you need consistent byte-pair formatting.
Does it convert to octal too?
Yes, alongside hexadecimal and binary, an octal result is shown even though it is not mentioned in the tool's name.