Number Base Converter

Convert between binary, octal, decimal, hexadecimal.

Number
From Base
  • Conversions
  • 2
    Binary
  • 8
    Octal
  • 10
    Decimal
  • 16
    Hex
Advertisement

Convert numbers between binary, octal, decimal, hexadecimal, and custom bases. Works client-side inside your browser.

How to use it

  1. Type your number and select the base it is currently in.
  2. Read the equivalent value in every other base.
  3. Use the custom base option for anything between 2 and 36.

Frequently asked questions

Why is hexadecimal used so often in computing?

Because one hex digit is exactly four bits, so a byte is always two characters. It compresses binary without losing the bit boundaries.

Can I convert negative numbers or decimals?

The converter works on whole non-negative numbers. Two's complement and fractional bases follow different rules and are not covered here.

What is the highest base available?

Base 36, which uses the digits 0 to 9 followed by the letters A to Z. There are no further standard symbols beyond that.

Recommended Tools