conver hex to decimal js code example Example: convert hexadecimal to decimal js yourNumber = parseInt(hexString, 16);