Convert between binary, octal, decimal, and hexadecimal
Enter a number
Type a number in decimal, binary, hexadecimal, or octal format.
Select the input base
Choose which base your input number is in (2, 8, 10, or 16).
View all conversions
See your number converted to binary, octal, decimal, and hexadecimal.
Yes, the Number Base Converter is completely free with no limitations. Convert between binary, octal, decimal, and hexadecimal as often as you need without registration.
Yes, all conversions happen locally in your browser using JavaScript. No numbers or data are sent to any server.
The tool supports binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). These are the most common bases used in programming and computer science.
Number base conversion is common when working with memory addresses, color codes, file permissions, network addresses, and low-level programming. Hex is often used to represent binary data more compactly.