210168AF42

Number Base Converter

Convert numbers between Binary, Octal, Decimal, and Hexadecimal instantly

Valid characters: 0-9

Privacy First

All conversions happen in your browser. No data is sent to any server.

Number Systems

2️⃣Binary (Base 2)

Uses only 0 and 1. Foundation of digital computers.

Example: 1010 = 10

8️⃣Octal (Base 8)

Uses digits 0-7. Common in Unix file permissions.

Example: 12 = 10

🔟Decimal (Base 10)

Standard number system. Uses digits 0-9.

Example: 10 = 10

1️⃣6️⃣Hexadecimal (Base 16)

Uses 0-9 and A-F. Common in colors and memory addresses.

Example: A = 10

Features

  • Convert between 4 number bases
  • Real-time conversion as you type
  • Input validation for each base
  • One-click copy for each result
  • Color-coded results
  • Prefix notation hints (0b, 0o, 0x)

Common Use Cases

💻Programming

  • • Convert color codes (hex to RGB)
  • • Debug bitwise operations
  • • Work with memory addresses
  • • Understand binary flags

🔧System Administration

  • • Convert Unix file permissions (octal)
  • • Work with network masks
  • • Analyze system logs
  • • Debug hardware configurations

🎓Education

  • • Learn number systems
  • • Computer science courses
  • • Digital electronics
  • • Verify manual calculations

🎨Web Design

  • • Convert hex color codes
  • • RGB to hex conversion
  • • Work with CSS values
  • • Debug color issues

Quick Reference Examples

BinaryOctalDecimalHexadecimal
0000000
10101210A
11111111377255FF
100000000400256100