Binary / Text Converter
Convert text to binary (ASCII codes) and binary back to text. Great for learning how computers store characters.
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.