Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal
Table of Contents
Convert numbers between different bases (binary, octal, decimal, hexadecimal). Essential for working with IP addresses, subnet masks, and low-level system operations.
Convert
Common Use Cases
- IP Address Conversion: Convert dotted decimal to binary for subnet calculations
- Subnet Masks: Understand CIDR notation and network boundaries
- MAC Addresses: Convert between decimal and hexadecimal formats
- Memory Addresses: Analyze hexadecimal memory dumps
- Permissions: Convert between octal (chmod) and binary representation
- Color Codes: Convert hex color codes to RGB decimal values
Examples
- IP Address:
192.168.1.1=11000000.10101000.00000001.00000001(binary) - Subnet Mask:
/24=255.255.255.0=11111111.11111111.11111111.00000000 - File Permissions:
755(octal) =111 101 101(binary) =rwxr-xr-x - Hex Color:
#FF5733= RGB(255, 87, 51)
Notes
- Binary uses digits 0-1
- Octal uses digits 0-7
- Decimal uses digits 0-9
- Hexadecimal uses digits 0-9 and letters A-F
- Hexadecimal input accepts both uppercase and lowercase (0x prefix optional)