Inputs
255
Ready
Hexadecimal ff is 15 sixteens plus 15, which is 255 in decimal. The page reads the integer in the input base and writes it in the output base, using exact integer arithmetic, so a long hex string does not pass through a rounded float. Bases run from 2 to 36. Digits past 9 are letters, a for 10 through z for 35. A digit that is too large for the source base is rejected: the character 2 is illegal in base 2.
A leading minus is preserved. FF and ff are the same value. The output is lowercase. Binary, octal, decimal, and hex are the common cases, and they are just bases 2, 8, 10, and 16. There is no 0x prefix and no 0b prefix. Type the digits alone.
This is for integers. A hex colour such as #ffcc00 is three bytes, not one integer, unless you deliberately want the 24-bit number. Fractional bases and fractional values are outside the tool. Text-to-hex, where each character becomes a byte, is an encoding tool, not a change of base.
Integer ff. Input base 16. Output base 10.
255. That is 15 × 16 + 15.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
255. In base 16, f is 15, so ff is 15 × 16 + 15.
Set the input base to 10 and the output base to 2. 255 becomes 11111111.
It does not exist in the input base. Base 2 allows only 0 and 1. Base 16 allows 0–9 and a–f.
Yes. FF and ff both convert as 255. The output is written in lowercase.
Only if you want the whole string as one integer and you remove the #. Byte-by-byte text encoding is a different tool.