Loading...
Please wait while we prepare your experience
Loading...
Please wait while we prepare your experience
Convert numbers between binary, decimal, hexadecimal, and octal instantly. All four bases, bidirectional, with step-by-step breakdown.
Enter any number in any base and instantly see the equivalent in decimal, binary, hexadecimal, and octal.
Enter your number
Type the value you want to convert into the input field. The tool auto-detects the base, or you can select the input base manually — decimal, binary (base 2), hexadecimal (base 16), or octal (base 8).
Select the input base
Choose the number system your input is in. For example, if you're converting a hex color code like FF3A00, select Hexadecimal as the input base.
Read all output bases at once
The tool instantly shows the equivalent value in all four bases simultaneously — decimal, binary, hexadecimal, and octal. No need to convert one at a time.
Copy any result
Click the copy icon next to any output field to copy that value to your clipboard. Useful when you need the hex or binary representation in your code.
Binary and hex conversions come up constantly in programming, networking, electronics, and computer science education.
Programming & computer science
Convert between number bases when working with bitwise operations, memory addresses, flags, or low-level data manipulation in C, Python, or assembly.
Web & CSS color codes
Decode hex color values like #1A2B3C into their decimal RGB components, or convert decimal color values back to hex for use in stylesheets.
Networking & IP addresses
Convert subnet masks, IP octets, and port numbers between decimal and binary to understand CIDR notation and network addressing.
Electronics & embedded systems
Work with register values, bitmasks, and hardware addresses that are commonly expressed in binary or hexadecimal in datasheets.
Learning number systems
Students learning binary arithmetic or computer architecture can use the tool to check their manual conversions and build intuition for different bases.
File permissions (Unix/Linux)
Convert octal permission values like 755 or 644 to binary to visualize exactly which read, write, and execute bits are set for each user class.
Common questions about number base conversion and how the tool works.
Found a problem with Binary Converter? Let us know.
Your feedback helps us improve.