Skip to developer tool
DEVELOPER TOOLS / NUMBER SYSTEMS

Number Base Converter & Binary Studio

Exact BigInt radix conversion, signed bit patterns, byte order and teachable binary examples — processed in your browser.

PixelOkay · Number Systems Studio V2

Conversion workspace

Exact integers · No uploads · Base 2–36
SOURCE VALUE

Matching 0b, 0o, 0x prefixes and correctly placed underscores are accepted.

EXACT CONVERSION
Copy and Download use the displayed result.

Common base equivalents

All representations derive from the same exact integer.

Try:

How to use Number Base Converter V2

  1. Use Quick Convert for mathematical integers in bases 2–36. Select the source base before entering a prefixed numeral.
  2. Use Bit Representation to interpret an explicit N-bit pattern as signed/unsigned, inspect byte order, toggle bits and perform bounded bitwise arithmetic.
  3. Use Batch to convert up to 200 lines and export CSV/JSON including individual errors.
  4. Use Exact Fractions for rational long division with recurring digits; use IEEE-754 for actual float32/float64 binary encodings.
  5. Choose Explain & Export for a source-accurate Markdown lesson or an SVG diagram of a verified integer conversion.

Three useful reference vectors

Binary 101101 = decimal 45 = hex 2D
Decimal 9007199254740993 = hex 20000000000001
Hex 0xFF (base 16) = decimal 255
8-bit signed pattern FF = -1, but integer hex FF = 255

Prefixes, separators and precision

Only 0b/0o/0x prefixes matching the selected radix are accepted. An underscore must separate two valid digits (for example, 1_000). Quick Convert uses exact BigInt; fractions use reduced BigInt numerator/denominator; floats use browser IEEE-754 DataView, so decimal 0.1 is rounded in float32/float64.

Bounded, private operation

Quick input is capped at 10,000 characters; batch input is capped at 200 lines and 200,000 characters; fractional display is capped at 256 digits. None of the entered numbers is uploaded or saved automatically. Grouping is display syntax and may not be supported by programming-language parsers.

Bit widths, overflow and endianness

The bit inspector supports 8/16/32/64/128-bit words. Its default reject policy prevents silent truncation; choose explicit wrapping or clamping to accept out-of-range integers. Endianness rearranges serialized bytes, not the underlying word value. Unlike Quick Convert, a signed 8-bit FF pattern is interpreted as -1.

Common questions

Why is 0xFF rejected in decimal mode?

Its prefix declares hexadecimal syntax. Select base 16; a mismatched prefix never silently overrides your chosen base.

Is a negative binary string automatically two’s-complement?

No. Quick Convert parses mathematical signs; the Bit Representation panel handles fixed-width, signed two’s-complement patterns explicitly.

What does a repeating fraction mean?

Parenthesized digits repeat indefinitely, such as decimal 1/3 = 0.(3). An ellipsis means the display limit was reached without determining a complete expansion, not that the displayed prefix is exact.

Is float32 the same as exact decimal fractions?

No. Float32 rounds decimal values to a representable IEEE-754 bit pattern, while Exact Fractions retains the rational value without that rounding.

Do the calculations or exports require an account?

No. Conversion and file generation are performed in the browser. Downloaded CSV/JSON/notes may contain the input values you deliberately included.