Number Base Converter

Free online number base converter. Convert between binary, octal, decimal, hexadecimal, and any base from 2 to 36 instantly.

All Bases

Binary (2)
11111111
Octal (8)
377
Decimal (10)
255
Hexadecimal (16)
FF
Base 32
7V
Base 36
73

What Is a Number Base Converter?

A number base converter translates numbers between different numeral systems (radixes). Computers use binary (base 2), programmers frequently work with hexadecimal (base 16) and octal (base 8), while everyday math uses decimal (base 10). This tool lets you convert between any base from 2 to 36, making it easy to work across different number systems used in programming, networking, and digital electronics.

How to Use the Number Base Converter

  1. Enter the number you want to convert in the input field.
  2. Select the base of your input number (e.g., Decimal 10 for normal numbers).
  3. Select the target base you want to convert to.
  4. The converted result appears instantly. Use the copy button to copy it.
  5. Toggle 'Custom base' to use any base from 2 to 36.

Common Use Cases

  • Debug Memory Addresses — Convert hexadecimal memory addresses to decimal for debugging or to binary for understanding bit patterns.
  • Network Configuration — Convert between decimal and binary representations of IP addresses and subnet masks.
  • Color Code Conversion — Convert hexadecimal color codes to decimal RGB values or vice versa for web development.

FAQ

What is the maximum base supported?
This tool supports any base from 2 (binary) to 36. Bases above 10 use letters A-Z to represent digits 10-35.
Can I convert very large numbers?
JavaScript handles integers accurately up to 2^53 - 1 (about 9 quadrillion). For numbers larger than that, precision may be lost.
What characters are valid for hexadecimal input?
Hexadecimal uses digits 0-9 and letters A-F (case insensitive). For example, 'FF' equals 255 in decimal.

관련 도구