Text to Binary Converter

Press Enter to convert to Binary, Shift+Enter for new line

What is Binary?

Binary is the fundamental language of computers - a base-2 numeral system that uses only two digits: 0 and 1. These digits represent the two states of electronic circuits: off (0) and on (1).

How Text Becomes Binary

Each character in text has an ASCII code (a number from 0-127). This number is converted to its 8-bit binary representation. For example:

  • 'A' = ASCII 65 = Binary 01000001
  • 'a' = ASCII 97 = Binary 01100001
  • '1' = ASCII 49 = Binary 00110001
  • Space = ASCII 32 = Binary 00100000

Example Conversion

Text Binary
Hi 01001000 01101001
OK 01001111 01001011
01 00110000 00110001

Understanding Binary Numbers

Each position in a binary number represents a power of 2, reading from right to left:

Position 7 6 5 4 3 2 1 0
Value 128 64 32 16 8 4 2 1
'A' (65) 0 1 0 0 0 0 0 1

For 'A': 64 + 1 = 65 ✓

Why Learn Binary?

  • Computer Science: Understanding how computers store and process data
  • Programming: Bit manipulation, flags, and low-level operations
  • Networking: IP addresses, subnet masks, and protocols
  • Education: Foundation for understanding digital systems