Number Base Converter
Convert values between binary, octal, decimal, hexadecimal, and custom bases 2–36 with grouped output, signed/unsigned interpretation, and conversion details.
How to Use
- Enter a value using digits valid for the selected input base.
- Choose the input base and output base, or use the quick output panels below.
- Turn on signed mode if you want two’s-complement style integer interpretation.
- Open “Show Details” to view place values, decimal interpretation, and conversion breakdown.
0 10–70–90–9 A–F0–9 A–V0–9 A–ZQuick Outputs
These common bases update together so you can compare formats instantly.
Integer Interpretation
Useful when reading raw bytes, bit fields, and memory values.
Show Details
Base Conversion Reference
Quick answer: A number base defines how many symbols are available before carrying to the next place value.
- Binary: base 2 using digits
0and1 - Octal: base 8 using digits
0through7 - Decimal: base 10 using digits
0through9 - Hexadecimal: base 16 using digits
0through9andAthroughF - Custom bases: supported from base 2 through base 36
A = 10 and F = 15.
FAQ
What bases are supported?
This converter supports any base from 2 through 36.
Why is my input marked invalid?
Each base has a limited set of valid digits. For example, base 2 only allows 0 and 1, and base 16 only allows 0–9 and A–F.
What does signed interpretation mean?
Signed mode interprets the value using the selected bit width, typically as a two’s-complement integer.
Can this convert fractions?
This page is structured for integer conversion first. Fraction support can be added later in JS only if you want that behavior.
Tool Info
Last updated:
Updates may include improved validation, custom base handling, grouped output formatting, and edge-case conversion logic.