Binary, octal, decimal, hex and bases 2 to 36. Runs on your device.
Hexadecimal is the short way to write long binary values. Each hex digit stands for four bits, so a byte is always two hex digits, which is why colour codes such as FF8800, memory addresses such as 7FFE0000 and many error codes are written in hex. The digits run 0 to 9 and then A to F, where A is 10 and F is 15. This page opens with FF already typed and the From base set to hexadecimal, so it shows 255 in decimal, which is the largest value two hex digits hold. Paste a colour value, a memory address or an error code and read its decimal value at once. A 0x prefix is accepted because it matches the base, and letters can be typed in either case. The tool keeps every digit, so a 16-digit address converts exactly rather than rounded. Entering a letter past F, such as G, gives an error that names the digits the base uses.
FF is 255 in decimal, because F is 15 and 15 times 16 plus 15 is 255. Two hex digits hold one byte, so FF is the largest value of a byte.
A number that starts with 0x is hexadecimal. Set From base to Hexadecimal, and 0x1F becomes 31. The tool gives that hint next to the error.
No. ff and FF both convert to 255. Turn on Lowercase letters to see the hex output in lower case, which Copy also uses.