Text to Binary Converter

Convert any text to 8-bit binary and decimal ASCII codes, or decode binary back to text.

Enter text above to see its binary representation

Text to Binary Converter

Every character on your keyboard is assigned a numeric code by the ASCII (American Standard Code for Information Interchange) standard — for example, the letter 'A' is 65, 'a' is 97, and the space character is 32. This converter takes any text you type and represents each character as an 8-bit binary number (a sequence of eight 0s and 1s), showing exactly how computers store plain text at the lowest level.

The reverse operation — binary to text — reads each 8-bit group, converts it back to its decimal ASCII value, and looks up the corresponding character. This tool is useful for understanding encoding fundamentals, debugging data streams, or completing computer science assignments that involve binary representation.

How it works

For each character: decimal = ASCII code point; binary = decimal expressed in base-2, zero-padded to 8 bits. Example: 'H' → 72 → 01001000. Reverse: 01001000 → 72 → 'H'.

Use cases

  • Learning how computers represent text in binary
  • Debugging binary data streams and network protocols
  • Completing computer science homework on ASCII encoding
  • Converting secret messages to binary for puzzles or games
  • Verifying byte values when working with low-level file formats

Related Calculators