$devtoolkit.sh/tools/hex-to-decimal

Hex to Decimal

Convert hexadecimal numbers to decimal, binary, and octal.

Accepts input with or without 0x or # prefix.

Decimal (base 10)

255

Binary (base 2)

11111111

Octal (base 8)

377

Related Tools

FAQ

How do I convert hex to decimal?
Each hex digit represents 4 bits and has a value from 0-15 (0-9, A=10, B=11, C=12, D=13, E=14, F=15). Multiply each digit by 16 raised to its positional power and sum the results. For example, 0xFF = 15×16 + 15×1 = 255.
Does this converter accept the 0x prefix?
Yes. You can enter hex values with or without the 0x or # prefix. The converter strips those characters automatically before parsing.
What is the largest hex value I can convert?
JavaScript's Number.MAX_SAFE_INTEGER is 9007199254740991 (0x1FFFFFFFFFFFFF). Values beyond this may lose precision. For arbitrarily large numbers, BigInt would be needed.

The Hex to Decimal converter parses a hexadecimal (base-16) value and outputs the equivalent decimal (base-10), binary (base-2), and octal (base-8) numbers. Accepts input with or without the 0x prefix. Results are shown in a card grid with copy buttons.

/tools/hex-to-decimalv1.0.0