Hex Converter
Hexadecimal to decimal and binary — with every step of the working shown. Paste a colour code like #FF5733 and the # is ignored. Everything happens in your browser; nothing is uploaded or stored.
Convert
Enter a number.
Result
Enter a number and press Convert.
—
Step by step
How this tool works
Hex to decimal. Each hex digit is multiplied by its place value (1, 16, 256, 4096…) and the results are added: F×16 + F = 240 + 15 = 255.
Decimal to hex. Divide by 16 again and again and read the remainders from bottom to top, writing 10–15 as A–F.
Hex to binary. Each hex digit is exactly four bits: F is 1111, A is 1010.
Privacy. Calculation happens entirely in your browser. Nothing is uploaded, stored or shared.
Limits. Only integers are supported. Conversions are exact for integers up to 53 bits.