Number Base Converter & Binary Studio
Exact BigInt radix conversion, signed bit patterns, byte order and teachable binary examples — processed in your browser.
Conversion workspace
Matching 0b, 0o, 0x prefixes and correctly placed underscores are accepted.
Common base equivalents
All representations derive from the same exact integer.
Fixed-width word & bit inspector
Bit patterns and two’s-complement values are explicit, separate from mathematical radix conversion.
Bitwise programmer calculator
Batch conversion
Up to 200 lines. Each invalid value gets its own error; no row is silently changed.
| Line | Original input | Result | Status / error |
|---|
Exact rational fractions
BigInt fractions, repeating cycles and truncation clearly distinguished. Not floating-point approximations.
IEEE-754 float bit explorer
This encodes floating-point bits, not exact integer radix conversion. Decimal inputs are rounded to the chosen binary format.
Explain a conversion
Computed place values and repeated-division steps from the last valid Quick Convert integer. Output is exact; lengthy visual steps are bounded.
How to use Number Base Converter V2
- Use Quick Convert for mathematical integers in bases 2–36. Select the source base before entering a prefixed numeral.
- Use Bit Representation to interpret an explicit N-bit pattern as signed/unsigned, inspect byte order, toggle bits and perform bounded bitwise arithmetic.
- Use Batch to convert up to 200 lines and export CSV/JSON including individual errors.
- Use Exact Fractions for rational long division with recurring digits; use IEEE-754 for actual float32/float64 binary encodings.
- 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 = 255Prefixes, 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.