Number Base Converter
Convert numbers between bases instantly: binary, octal, decimal, hexadecimal, and any custom base (2-36). Free online base converter tool.
Why Use a Number Base Converter?
Different number systems are fundamental to computing. Binary is the language of hardware, hexadecimal is used in memory addressing and color codes, octal appears in file permissions, and decimal is our everyday number system. Our base converter lets you translate between these systems instantly, with support for any base from 2 to 36.
Key Features
- Standard bases: binary (2), octal (8), decimal (10), hexadecimal (16)
- Custom base conversion for any base 2-36
- One-click copy for any conversion result
How to Use
- Select the input base and enter your number
- View all standard base conversions at once
- Switch to the Custom tab for non-standard base conversions
Technical Details
Number base conversion works by first parsing the input number in its source base to a decimal integer using JavaScript's parseInt(value, radix) function. The decimal value is then converted to the target base using Number.toString(radix). Bases above 10 use letters A-Z for digits 10-35. All processing is client-side.
FAQ
What bases are supported?
The tool supports any base from 2 to 36. Common bases include binary (2), octal (8), decimal (10), and hexadecimal (16).
What are the prefix conventions for different bases?
Common prefixes are 0b for binary, 0o for octal, and 0x for hexadecimal. Decimal numbers have no prefix.
Related tools
Percentage Calculator
Multiple percentage calculations — find percentages, changes, and increases
Unit Converter
Convert between length, weight, and temperature units
Roman Numeral Converter
Convert between Roman numerals and Arabic numbers bidirectionally
UUID Generator
Generate UUID v4 strings instantly — single or batch, with uppercase toggle
Number Formatter
Format numbers with thousands separators, currency symbols, scientific notation, and locale support