Number Base Converter
Convert large signed integers between binary, decimal, hex, and bases 2–36.
Processing stays in your browser. Supports signed whole numbers without rounding, including integers larger than JavaScript's normal number range.
How to use the number base converter
Enter a signed whole number and choose input and output bases from 2 to 36. The tool uses integer arithmetic so large values are converted without rounding. Binary, octal, and hex inputs may use matching 0b, 0o, and 0x prefixes.
Example
Decimal 255 becomes hexadecimal FF, binary 11111111, and octal 377.
Good to know
Fractions and scientific notation are not supported. Negative values use a minus sign; the output is not a fixed-width two's-complement representation.