Convert integers between number bases (radix 2 through 36), including the everyday cases binary, octal, decimal, and hexadecimal.
How it works
Digits are validated against the source alphabet (0–9 then a–z). An optional 0x prefix is stripped for hex-looking input. The value is parsed with arbitrary-precision integers, then reformatted in the target base using lowercase letters for digit values above nine. A leading minus sign is preserved for negative integers.
When to use it
- Translate a hex color channel or memory address into decimal
- Check binary bit patterns for flags and masks
- Convert homework or CTF values without leaving the browser
Limitations
Fractional values and floating-point notation are not supported—integers only. Bases outside 2–36 are rejected. Extremely large inputs are limited only by practical BigInt size in the browser tab.
Example
Value 255 from base 10 to base 16 yields ff. Value 0xFF from base 16 to base 10 yields 255. Value 2 in base 2 is rejected as invalid-digits.