Binary Converter

Convert between binary, hexadecimal, and decimal number systems

How to Convert Number Systems

  1. Select input format (binary/hex/decimal/text)
  2. Enter value to convert
  3. View conversions in all formats automatically
  4. Copy desired output format

Binary Converter Features

  • Binary (Base-2): 0 and 1 only
  • Hexadecimal (Base-16): 0-9 and A-F
  • Decimal (Base-10): Standard numbers
  • Text Encoding: Convert text to binary/hex
  • Real-Time Conversion: Instant results
  • 100% Free: No limits on conversions

Understanding Number Systems

Computers use binary (base-2) internally—only 0 and 1 represent electrical states. Hexadecimal (base-16) is shorthand for binary: each hex digit represents 4 binary digits. Decimal (base-10) is human-friendly. Example: 255 decimal = 0xFF hex = 11111111 binary.

Binary to hex conversion: Group binary digits in sets of 4 from right to left. Each group becomes one hex digit. 1010 1100 = AC. Hex to decimal: (A × 16^1) + (C × 16^0) = (10 × 16) + (12 × 1) = 172. Text to binary: Each character's ASCII code converted to binary.

Use cases: Understanding memory addresses, debugging low-level code, analyzing network packets, working with color codes (CSS hex colors), understanding file formats, IP address subnet calculations, and learning computer science fundamentals.

Privacy & Security

All number system conversions happen locally in your browser. Your input is never uploaded to servers, stored, or logged. The conversion uses JavaScript, keeping your data completely private.