Number-base converter

Move an integer between bases without rounding it.

Convert binary, octal, decimal, hexadecimal, or any radix from 2 to 36. BigInt arithmetic preserves integers far beyond ordinary floating-point limits.

Spaces and underscores are ignored; signed integers are supported.

Selected output

Common bases

Binary is base 2, octal is base 8, decimal is base 10, and hexadecimal is base 16. Hexadecimal is compact and maps neatly to bytes, which is why it appears frequently in colors, hashes, memory addresses, and debugging output.