Developer Tools

Number Base Converter

Convert integers between decimal (base 10), binary (base 2), octal (base 8), and hexadecimal (base 16). Type in any field and all other bases update instantly.

Converts all bases simultaneously Browser-only Decimal, binary, octal, hex

Type a number in any base — all other bases update instantly.

Base 10

Digits: 0–9

Base 2

Digits: 0–1

Base 8

Digits: 0–7

Base 16

Digits: 0–9, A–F

How to use it

  1. 1 Type a number in any of the four fields (decimal, binary, octal, or hexadecimal).
  2. 2 The other three fields update automatically.
  3. 3 If you enter an invalid character for the chosen base, an error message appears.

Use cases

  • Converting memory addresses or bitmasks to readable decimal
  • Checking binary representations of integers when debugging
  • Converting hexadecimal colour components to decimal for calculations

Limitations

  • Negative numbers and floating-point values are not supported.
  • Hexadecimal output is shown in uppercase.

FAQ

What is the maximum number supported?

The converter uses JavaScript BigInt internally, so very large integers are supported without precision loss.

Can I enter negative numbers?

Not in this version. The converter handles non-negative integers only.