Base Converter (Binary, Decimal, Hex, Octal)

Convert numbers between binary, decimal, hexadecimal, and octal.

💡 Examples:
Decimal 123 = Binary 1111011 = Hex 7B = Octal 173
Decimal 255 = Binary 11111111 = Hex FF = Octal 377

Why Convert Number Bases?

Number systems use different bases: binary (0-1), octal (0-7), decimal (0-9), hexadecimal (0-F). Computers operate in binary, programmers read hex (0xFF), and humans use decimal. Converting between bases is essential for low-level programming, networking, color codes, file permissions, and understanding memory addresses.

Common Use Cases

  • Color codes: Convert hex colors (#FF5733) to RGB decimal values (255, 87, 51)
  • File permissions: Convert octal Unix permissions (755) to binary (111 101 101) for understanding
  • Network addresses: Convert IP addresses between decimal and binary for subnetting
  • Assembly programming: Convert memory addresses from hex (0x7FFF) to decimal
  • Bitwise operations: Convert numbers to binary to understand bitwise AND/OR/XOR results
  • Embedded systems: Convert sensor data between hex, binary, and decimal

Why This Tool?

  • 4 number systems: Binary, octal, decimal, hexadecimal—all conversions in one tool
  • Instant conversion: Type numbers and convert in real-time
  • Bidirectional: Convert from any base to any other base
  • 100% client-side: Your numbers never touch our servers
  • Free forever: Unlimited conversions with no limits

Pro tip: For color hex codes, use our Color Picker. For converting text to binary/hex, try Base64 Encoder or Hash Generator.