• EasyStackTools189+ Free Tools
  • EVM Tools
    • Number Base Converter
    • BCD Converter
    • Gray Code Converter
    • Binary Calculator
    • Roman Numeral Converter
    • Numbers to Words
    • Words to Numbers
    • Scientific Notation Converter
    • Prime Number Generator
    • Fibonacci Number Generator
    • Pi Digit Generator
    • Euler Digit Generator
    • Round Numbers
    • Random Fraction Generator
  1. Home
  2. Math Tools
  3. Number Base Converter

Number Base Converter

Convert numbers between binary, octal, decimal, and hexadecimal. Supports any base from 2 to 36.

Read the guide

Guide and examples

The Number Base Converter converts numbers between binary, octal, decimal, hexadecimal, and any custom base from 2 to 36. Use it for programming, digital electronics, or math when you need to switch between number systems quickly.

What is the Number Base Converter?

This tool converts a number from one radix (base) to another. You enter the number and choose "From base" and "To base." Common bases are 2 (binary), 8 (octal), 10 (decimal), and 16 (hexadecimal). The tool also supports custom bases 2–36 using digits 0–9 and A–Z.

Key Features

  • Convert between binary, octal, decimal, and hex in one place.
  • Support for any base from 2 to 36 (custom bases).
  • Large numbers supported via BigInt; no server round-trip.
  • Client-side only; your input is never sent to a server.

How to Use

  1. Open the Number Base Converter tool.
  2. Enter the number in the input field.
  3. Select "From base" (e.g. Decimal 10) and "To base" (e.g. Binary 2).
  4. Read the result and use Copy if needed.

Use Cases

  • Debugging — Convert hex dumps or memory values to decimal or binary.
  • IP and colors — Convert hex color codes or IP segments between bases.
  • Learning — Practice base conversion for computer science or math.
  • Code — Quick check of numeric literals in different bases.

Frequently Asked Questions

What is this tool used for?

It converts numbers between different bases (binary, octal, decimal, hexadecimal, or any custom base 2–36). Use it for programming, digital electronics, or math.

What input does it accept?

Enter a number in the source base. For base 2 use only 0 and 1; for base 16 use 0-9 and A-F. Leading zeros are allowed.

Are there limits on number size?

Very large numbers are supported via BigInt. Extremely long strings may slow the browser. Custom bases 2–36 use digits 0-9 and A-Z.

Is my data sent to a server?

No. All conversion runs in your browser. Nothing is uploaded or stored.

When should I use it?

Use it when debugging hex dumps, converting IP or color values, or working with non-decimal number systems in code or hardware.

Why does my conversion look wrong?

Check that the number uses only valid digits for the chosen base (e.g. no 8 or 9 in octal). Remove spaces or commas if present.

Conclusion

The Number Base Converter is a free, client-side tool for switching between number bases. Try it at Number Base Converter. For related conversions, see the BCD Converter and Gray Code Converter.

Frequently Asked Questions

It converts numbers between different bases (binary, octal, decimal, hexadecimal, or any custom base 2–36). Use it for programming, digital electronics, or math.

Related Tools

  • BCD Converter

    Convert between BCD (Binary-Coded Decimal), decimal, octal, and hexadecimal.

  • Gray Code Converter

    Convert between Gray code and binary, octal, decimal, and hexadecimal.

  • Binary Calculator

    Add and multiply binary numbers; compute bitwise AND, OR, XOR, NAND, NOR, XNOR, NOT; invert, reverse, rotate, and shift binary strings.

  • Roman Numeral Converter

    Convert between Roman numerals and decimal numbers. Supports standard subtractive notation (IV, IX, XL, etc.).