Integer Base Converter
Enter a number and choose its base to see every base conversion instantly
01
Base settings
Choose the base your input number is written in
Values are converted locally in your browser
02
Results in every base
Results update as you type
—————Tool guide
Enter an integer and choose its base. The tool instantly shows binary, octal, decimal, hexadecimal, and custom-base results. Bases 2 to 36, negative values, and arbitrarily large integers are supported — everything runs locally in your browser.
- Supports every integer base from 2 to 36
- Automatically strips 0b, 0o, and 0x prefixes
- Negatives and huge integers convert exactly
- Privacy: Values are converted locally in your browser
Standards reference
The implementation uses JavaScript BigInt. The ECMAScript 2025 specification for BigInt.prototype.toString defines radix conversion for integer bases from 2 through 36. This tool intentionally excludes fractional values and does not interpret signed machine-word encodings such as two’s complement.
FAQ
Can I convert negative numbers?
Yes. Put a minus sign before the number; for example, -1010 in binary equals -10 in decimal.
How large can the integer be?
The tool uses the browser’s built-in big-integer type and never passes through floating point, so precision is limited only by input length — even very large numbers convert exactly.
Does it support decimals?
This version converts integers only. A number with a decimal point shows an invalid-input message; remove the decimal point first.