Number Base Converter
Convert numbers between binary, octal, decimal, hex, and custom bases.
About Number Base Converter
The Number Base Converter transforms integers between binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and any arbitrary base from 2 to 36. Positional notation conversion is a fundamental concept in computer science and digital electronics — hexadecimal is the native notation for memory addresses, color codes, and assembly language; binary is used in bitwise operations and hardware registers; octal represents Unix file permission modes. This tool converts instantly with no limit on input size.
How to Use
Enter a number in the input field and select its current base (binary, octal, decimal, hex, or custom). The tool simultaneously displays the equivalent value in all common bases. For custom bases (2 to 36), select Custom and specify the radix. Large numbers are handled without precision loss using arbitrary-precision integer arithmetic.
Common Use Cases
- Converting between binary, hexadecimal, and decimal while writing low-level C, C++, or assembly language programs
- Translating hexadecimal memory addresses and register values to decimal for debugger and disassembler output analysis
- Converting octal Unix file permission values (e.g., 0755) to binary to understand the rwx permission bit layout
- Decoding hexadecimal RGB and RGBA color codes to decimal component values for CSS and graphics programming
- Solving number-base conversion problems for computer science coursework, competitive programming, and interview preparation