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

  1. Enter a value using digits valid for the selected input base.
  2. Choose the input base and output base, or use the quick output panels below.
  3. Turn on signed mode if you want two’s-complement style integer interpretation.
  4. Open “Show Details” to view place values, decimal interpretation, and conversion breakdown.
Base View
Common radices and digit sets at a glance.
Input Base
10
Output Base
2
Bits
8
Mode
Unsigned
Binary Base 2
0 1
Octal Base 8
0–7
Decimal Base 10
0–9
Hex Base 16
0–9 A–F
Base 32 Base 32
0–9 A–V
Base 36 Base 36
0–9 A–Z
Inputs & Settings
Enter one value, then convert it to any supported base from 2 through 36.
Accepted characters depend on the selected input base. Spaces and separators can be cleaned automatically if enabled.
Used only when “Custom Base” is selected above.
Used only when “Custom Base” is selected above.

Affects signed and unsigned integer interpretation panels.
Useful for reading long binary or hexadecimal outputs.

Quick Outputs

These common bases update together so you can compare formats instantly.

Binary (Base 2)
Octal (Base 8)
Decimal (Base 10)
Hexadecimal (Base 16)
Custom Output
Character Preview

Integer Interpretation

Useful when reading raw bytes, bit fields, and memory values.

Unsigned Value
Signed Value
Bit Length
Normalized Input
Show Details
Details may include normalized input, digit validation, decimal interpretation, and place-value expansion.

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 0 and 1
  • Octal: base 8 using digits 0 through 7
  • Decimal: base 10 using digits 0 through 9
  • Hexadecimal: base 16 using digits 0 through 9 and A through F
  • Custom bases: supported from base 2 through base 36
For bases above 10, letters represent values above 9. Example: in hex, 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.