Convert Hex to Decimal

auto-copied to your clipboard

Type a hexadecimal number and its decimal value appears instantly, e.g. FF = 255. Paste a list to convert every value at once, separated by spaces, commas or new lines, with or without 0x. Very large numbers stay exact, and you can read values as signed (two's complement) too.

How do I convert hex to decimal?

Multiply each hex digit by a power of 16 and add them up. For 7E4 that is 7 x 256 + 14 x 16 + 4 = 2020. This page does it for you as you type.

Can I convert a list of hex values?

Yes. Separate them with spaces, commas or new lines and each one is converted in place. 0x, #, $, &H and a trailing h are all understood.

What does signed (two's complement) mean?

Computers store negative numbers by flipping the top bit, so FF can mean 255 or -1. Choose Signed and the width comes from the digits you type: FF is 8-bit (-1), FFFE is 16-bit (-2).

Can I decode hex into text instead?

Yes. For bytes like 48 65 6C 6C 6F use Hex to Text.

Can I convert decimal back to hex?

Yes. Use Decimal to Hex, or the number base converter for binary, octal and other bases.