Number Base Converter

Any base to any base, 2 through 36, with unlimited BigInt precision. Edit any row and everything follows — plus a clickable bit grid, two's complement view, step-by-step working, bitwise operations, and a text-bytes pane. Everything runs in your browser.

Convert

—
base 16

Common bases — every row editable

BINARY (2)
OCTAL (8)
DECIMAL (10)
HEX (16)

Bit grid — click any bit to toggle

The grid shows the integer part only, wrapped to the chosen width. Clicking a bit updates the converter above.

Steps

Positional expansion (source → decimal)

Each digit times its place value. Click a row to highlight that digit in the source number.

PosDigitBase^posTerm

Repeated division (decimal → target)

Read the remainders bottom-up. Click a row to highlight that digit in the result.

#DivisionQuotientRemainder

Steps work on the integer part only; fractional digits are produced by repeated multiplication and are marked "truncated" when cut short.

Bitwise operations

Text ↔ bytes

UTF-8 handles any Unicode text; latin-1 maps each character to a single byte (characters above U+00FF are shown as "?").