Author: Mark Russinovich Published: July 4, 2016 — Last updated: 10/18/2023
Hex2dec is a small command-line utility that converts numbers between hexadecimal and decimal formats so you don't need to open a calculator.
Key points:
Usage: hex2dec [hex|decimal]
To specify a hexadecimal input, prefix the value with x or 0x (examples below).
x
0x
Examples:
Convert decimal 1233 to hexadecimal: {% code title="Example" %}
hex2dec 1233
{% endcode %}
Convert hexadecimal 0x1233 to decimal: {% code title="Example" %}
hex2dec 0x1233
{% endcode %}- Download: https://download.sysinternals.com/files/Hex2Dec.zip (578 KB)
Supported platforms:
Client: Windows Vista and higher
Server: Windows Server 2008 and higher
Nano Server: 2016 and higher
Additional note: The page references Microsoft’s Ask Learn AI assistant and sign-in for that feature.