Number Base Converter

Convert numbers between binary, octal, decimal and hexadecimal.

BIN

Binary

Base 2
OCT

Octal

Base 8
DEC

Decimal

Base 10
HEX

Hexadecimal

Base 16

About Number Base Converter

Convert integer values between Binary, Octal, Decimal and Hexadecimal. This online number base converter supports large integer values using JavaScript BigInt and performs the conversion directly in your browser.

How to use Number Base Converter

  1. Enter a number in the input field.
  2. Select the input number base.
  3. Click Convert.
  4. View the converted value in Binary, Octal, Decimal and Hexadecimal.
  5. Use Copy to copy any converted value.

What is a Number Base?

A number base determines how numbers are represented using a specific set of digits. Different number systems are commonly used in mathematics, programming, electronics and computer science.

Binary, Octal, Decimal and Hexadecimal

Number SystemBaseDigitsCommon Use
Binary20–1Computer systems and digital electronics
Octal80–7Compact representation of binary values
Decimal100–9Everyday numbers and general calculations
Hexadecimal160–9, A–FProgramming, memory addresses and color values

Example: Converting 255

The decimal number 255 can be represented in several number systems:

Binary

11111111

Octal

377

Decimal

255

Hexadecimal

FF

When should you use a Number Base Converter?

  • Converting binary values during programming.
  • Working with hexadecimal values in software development.
  • Converting values used in digital electronics.
  • Checking number representations while learning computer science.
  • Converting large integer values between number systems.

Does this converter support large numbers?

Yes. This converter uses JavaScript BigInt for integer conversion, allowing it to work with integer values that are larger than the range supported by JavaScript's regular Number type.

Is my number uploaded to a server?

No. Number conversion is performed directly in your browser. The tool does not require a backend server to perform the conversion.