Free Tool

Number Base Converter

Convert integers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). All fields update simultaneously.

Number Base Converter

Type a number in any base — all others update instantly.

Binary

Base 2 0b

Octal

Base 8 0o

Decimal

Base 10

Hexadecimal

Base 16 0x

Number bases explained

Binary (base 2) uses digits 0–1. Octal (base 8) uses 0–7. Decimal (base 10) is the everyday number system. Hexadecimal (base 16) uses 0–9 and A–F and is widely used in computing for memory addresses and colour codes.

How to use

  1. Type a number in any field — binary, octal, decimal, or hexadecimal.
  2. All other fields update instantly.
  3. Copy any result using the Copy button.

All conversion runs in your browser — nothing is sent to any server.

Frequently Asked Questions

Does it handle negative numbers?
No — only non-negative integers are supported.
What is the maximum value?
The converter uses JavaScript's BigInt for arbitrary precision, so very large numbers are supported.