Exact arbitrary-precision conversion

Number Base Converter

Translate integers between binary, octal, decimal, hexadecimal, and every base from 2 to 36—without rounding large values.

BigInt accurateBases 2–36Private in browser
Input

Enter an integer

Auto mode recognizes 0b, 0o, and 0x. Spaces and underscores are accepted as visual separators.

Try an example

Load a value and convert it.

Precision

Designed for very large integers

JavaScript numbers become unreliable beyond 9,007,199,254,740,991. This converter parses each digit directly into a BigInt, so large identifiers, bit masks and cryptographic-sized integers remain exact.

Valid digits

Digits depend on the base

Base 2 accepts only 0–1, octal accepts 0–7, decimal accepts 0–9, and hexadecimal adds A–F. Bases up to 36 use A–Z, with letter case treated equally.

Signed values

Negative integers supported

A leading minus sign is preserved across conversions. The binary visualization shows the magnitude—not a fixed-width two’s-complement encoding, which requires choosing a bit width.

Number-base conversion FAQ

Can I convert fractional numbers?

This tool intentionally handles integers only so every result is exact. Fractions can repeat indefinitely in another base and require a chosen rounding precision.

What is hexadecimal used for?

Hexadecimal compactly represents binary data and is common in colors, memory addresses, byte values, Unicode code points and debugging.

Are my values uploaded?

Conversion happens locally in your browser. A usage event is recorded when you submit a conversion to enforce your ZeeSharp plan.