Number Base Converter
Convert integers between bases 2 and 36 (binary, octal, decimal, hexadecimal).
Note
This tool converts integers. Fractions are not supported.
About this Number Base Converter
Convert numbers between different bases (radixes) from 2 to 36. Our number base converter supports binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any base up to 36. Essential for programmers, computer science students, and anyone working with low-level data. Convert binary to decimal, hex to decimal, decimal to hex, and more—all in your browser with instant results.
Key Features
Convert between bases 2 (binary) through 36
Support for binary, octal, decimal, hexadecimal
Instant conversion as you type
Handles large numbers
Clear error messages for invalid input
Copy result to clipboard
Works entirely in your browser
No signup or installation required
How to Use
Enter a number in the source base (e.g. decimal or hex)
Select the source base (2–36)
Select the target base
View the converted result instantly
Use copy to clipboard if needed
Switch bases to convert in any direction
Popular Use Cases
Convert binary to decimal for readability
Convert hex to decimal for debugging
Convert decimal to hex for programming
Convert between octal and other bases
Teach or learn number systems
Debug low-level and embedded systems
Work with color hex codes and RGB
Convert IP addresses or bit masks
Tips & Best Practices
Hexadecimal uses 0–9 and A–F (e.g. FF = 255)
Binary uses only 0 and 1
Leading zeros are often allowed (e.g. 0x1A for hex)
For programming, hex (base 16) and binary (base 2) are most common
Base 36 uses 0–9 and A–Z
Frequently Asked Questions
What is a number base (radix)?
The base is how many distinct digits are used. Decimal is base 10 (0–9), binary is base 2 (0–1), hexadecimal is base 16 (0–9, A–F).
Why use hexadecimal?
Hex is compact and maps neatly to binary (each hex digit = 4 bits). It's used in programming, colors (e.g. #FF0000), and memory addresses.
What is the maximum base supported?
The tool supports bases 2 through 36. Base 36 uses digits 0–9 and letters A–Z.
Can I convert fractional numbers?
This tool converts integers only. For fractional values, you would need to handle integer and fractional parts separately.
