Base Converter
Convert between binary, octal, decimal, and hexadecimal instantly. Includes signed decimal view, grouped digits, ASCII preview, and step-by-step breakdown.
How to Use
- Choose the input base: binary, octal, decimal, or hexadecimal.
- Enter a whole-number value. Spaces and common base prefixes can be cleaned automatically by the tool.
- Review the converted outputs, bit length, and signed decimal interpretation.
- Open “Show Work” to see place-value expansion and conversion details.
Octal
Base 8Decimal
Base 10Hexadecimal
Base 16Show Work (step-by-step)
Base Reference
Quick answer: Binary uses 0–1, octal uses 0–7, decimal uses 0–9, and hexadecimal uses 0–9 plus A–F.
Each base is positional, meaning digit value depends on both the symbol and its place.
- Binary: Base 2, common in logic states and machine representation
- Octal: Base 8, compact shorthand for groups of 3 binary bits
- Decimal: Base 10, standard human-readable counting system
- Hexadecimal: Base 16, compact shorthand for groups of 4 binary bits
FAQ
Can I enter prefixes like 0x or 0b?
Yes. When “Clean prefixes” is enabled, the tool can strip common prefixes before conversion.
Why is signed decimal different from unsigned decimal?
Signed interpretation treats the highest bit as a sign bit when a bit width is defined, usually using two’s complement rules.
Why does bit width matter?
Bit width affects padding, overflow interpretation, and whether a value is treated as positive or negative in signed mode.
Does this tool convert fractions?
No. This version is for integer conversion only to keep the tool deterministic, fast, and clean.
Tool Info
Last updated:
Updates may include validation improvements, formatting options, and additional conversion detail output.