BroHelp.me

Decimal To Hexadecimal

Convert a signed decimal integer to uppercase hexadecimal (base 16). Spaces and underscores are ignored; a leading plus or minus sign is allowed.



NAN

How This Converter Works

Converts a signed decimal integer to uppercase hexadecimal; whitespace and underscores are ignored.

Formula or rule

Remove whitespace and underscores, validate signed decimal digits, parse in base 10, then format in base 16 and uppercase the result.

Example

Input
255
Calculation
255 = 15×16 + 15, so both hexadecimal digits are F.
Result
FF
© BroHelp.me 2026 - 2026 is provided without warranty of any kind.