Number Base Converter
Convert numbers between bases 2 through 36, including bignum input.
- Recent results are kept in this browser's local storage until you clear them.
History kept on this device
Recent results are kept in this browser's local storage until you clear them. - Processing happens in this page. No application server receives your input.
Runs in your browser
Processing happens in this page. No application server receives your input.
Integer value
Converted value
Common bases (2, 8, 10, 16)
Enter an integer to convert across binary, octal, decimal, and hexadecimal.
What this tool does
Converts integers of arbitrary precision (`BigInt`) between any two radices from 2 through 36, and simultaneously shows Binary (Base 2), Octal (Base 8), Decimal (Base 10), and Hexadecimal (Base 16) side by side.
Strict digit validation & bignum arithmetic
Every character is validated against the source radix before accumulation, so out-of-range digits such as 9 in base 8 fail immediately with Invalid number for base rather than being silently truncated. Arithmetic uses BigInt (`convertBaseBig`), avoiding the 53-bit precision ceiling of Number.MAX_SAFE_INTEGER.
Example
Base 10 18446744073709551615 โ Base 16 ffffffffffffffff.
Limits
Integers only. No fractional part, no exponent notation, no two's-complement view of negatives.
Scope: this covers the page itself. Your browser, operating system, clipboard, downloads, extensions, and crash recovery may keep copies, and a compromised site origin would not be protected.