Binary / Text Converter

Convert text to binary (ASCII codes) and binary back to text. Great for learning how computers store characters.

Each character is represented as 8-bit binary (UTF-8). Space = 00100000 (32 decimal).

How It Works

Enter text to see its binary representation, or enter binary digits (space-separated 8-bit groups) to decode them back to text. The tool uses ASCII/UTF-8 encoding for the conversion.

Every character you type is stored as a binary number inside a computer. This converter makes that relationship visible — showing you the exact binary representation of any text and allowing you to decode binary back to readable characters.

**How Text is Stored in Binary**

Each character is mapped to a number (its character code) and that number is stored in binary. ASCII defines codes for 128 characters: A=65=01000001, B=66=01000010, and so on. UTF-8 extends this for international characters, using 1–4 bytes per character.

**ASCII Table Basics**

- Uppercase A–Z: 65–90 (01000001 to 01011010)
- Lowercase a–z: 97–122 (01100001 to 01111010)
- Digits 0–9: 48–57 (00110000 to 00111001)
- Space: 32 (00100000)
- Newline: 10 (00001010)

**8-bit Binary Groups**

Binary text representation groups 8 bits (one byte) per character. "Hi" in binary is `01001000 01101001` — H (72 decimal) and i (105 decimal) each represented as an 8-bit value.

**Applications**

- Learning computer science fundamentals
- Understanding how networking protocols work at the byte level
- Steganography (hiding messages in binary)
- Educational demonstrations of encoding
- Debugging low-level data issues

**Beyond ASCII**

For Unicode characters (emojis, accented characters, CJK scripts), UTF-8 encoding uses multiple bytes. This converter handles basic ASCII. For full Unicode binary representation, each character may require 8, 16, or 24 bits.

**Privacy**

All conversions run in your browser with no data sent to our servers.

Frequently Asked Questions

Each character has a numeric code (e.g., A=65). That number is represented in binary using 8 bits (one byte). Computers store sequences of these bytes to represent text strings.
ASCII (American Standard Code for Information Interchange) is a character encoding standard that maps 128 characters (letters, digits, punctuation, control characters) to numbers 0–127.
H=01001000, e=01100101, l=01101100, l=01101100, o=01101111. So "Hello" in binary is: 01001000 01100101 01101100 01101100 01101111.
Emojis require UTF-8 encoding which uses multiple bytes. This tool supports basic ASCII characters. For full Unicode binary, each character may need 2-4 bytes (16-32 bits).
A bit is a single binary digit (0 or 1). A byte is 8 bits. One byte can represent 256 different values (0–255) and stores one ASCII character.