Skip to content
LovTools
EN

Number Base Converter

Convert between binary, octal, decimal, hex and any base up to 36.

Processed locally on your device — nothing is uploaded.

About the Number Base Converter

Programmers, students and electronics hobbyists constantly move between number systems. Enter a number, choose its base, and see it in binary, octal, decimal, hexadecimal and one extra base of your choice — all at once.

Big integers are handled exactly using arbitrary-precision arithmetic, so 64-bit values and beyond convert without rounding errors. Prefixes like 0x and 0b are accepted.

How to use the Number Base Converter

  1. Enter a number.
  2. Choose the base it is written in.
  3. Read the value in every base.

Features

  • Goal seek: type the answer you want and the tool works out the input that gives it
  • Bases 2, 8, 10, 16 and any up to 36
  • Arbitrary-precision integers
  • Accepts 0x, 0b, 0o prefixes
  • Bits needed

Supported formats

  • Integers in bases 2–36

Frequently asked questions

Why are hex digits letters?

Base 16 needs 16 digit symbols, so A–F represent 10–15.

Is anything sent to a server?

No. Everything is calculated in your browser.

Added · Last reviewed · Maintained by Sohail Khax · How we test tools