Binary / Hex / Decimal / ASCII Converter

Convert between binary, hexadecimal, decimal, and ASCII text instantly

Mobile Ad

Did you know that computers use binary (base-2) because digital circuits have two states: on and off?

Enter value in any field:

Use only 0 and 1
Use 0-9 and A-F
Standard numbers 0-9
Standard text characters

How to Use the Binary/Hex/Decimal/ASCII Converter

This converter allows you to instantly convert between different number systems and ASCII text. Simply enter a value in any field, and the other fields will automatically update.

Number Systems Explained

  • Binary (Base-2): Uses only 0 and 1. This is the fundamental language of computers.
  • Hexadecimal (Base-16): Uses 0-9 and A-F. Commonly used in programming and memory addresses.
  • Decimal (Base-10): The standard number system we use every day (0-9).
  • ASCII: Text characters encoded as numbers. Each letter, number, or symbol has a unique ASCII code.

Common Uses

  • Programming and software development
  • Network administration and IP addresses
  • Digital electronics and circuit design
  • Data encoding and encryption
  • Color codes in web design (hex colors)
  • Memory addresses and debugging

Examples

  • Binary 11111111 = Hex FF = Decimal 255
  • Binary 1010 = Hex A = Decimal 10
  • ASCII "A" = Decimal 65 = Hex 41 = Binary 01000001
  • ASCII "0" = Decimal 48 = Hex 30 = Binary 00110000

Tips

  • For multi-character ASCII text, values are shown space-separated
  • Hexadecimal values can be entered with or without "0x" prefix
  • Binary values are typically grouped in sets of 8 (bytes) for readability
  • Not all numbers have ASCII character equivalents (only 0-127 are standard ASCII)