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)
11111111Octal (8)
377Decimal (10)
255Hexadecimal (16)
FFBase 32
7VBase 36
73What 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
- Enter the number you want to convert in the input field.
- Select the base of your input number (e.g., Decimal 10 for normal numbers).
- Select the target base you want to convert to.
- The converted result appears instantly. Use the copy button to copy it.
- 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.