💻 Computer Science & Character Encoding
ASCII to Binary & Binary to Text Converter
Convert plaintext strings to 8-bit binary bytes, Hexadecimal ($\text{0x}$), and Decimal ASCII codes with instant two-way translation.
💬 "Hello World!"
🚨 "SOS"
🧰 "The Tool Nest"
🔢 "1234567890"
Plaintext (ASCII / UTF-8)
Characters: 12
Bytes: 12 (96 bits)
8-Bit Binary Code
Valid 8-bit stream
Character-by-Character Inspection:
| Char | Decimal | Hexadecimal | 8-Bit Binary |
|---|
How ASCII and Binary Encoding Works
The American Standard Code for Information Interchange (ASCII) assigns integer values from $0$ to $127$ to English letters, numbers, and symbols:
- Character to Binary Conversion: Each character is converted into its 7-bit or 8-bit binary representation: $$\text{'H'} \implies \text{Decimal } 72 \implies \text{Binary } 01001000_2$$
- Spaces in Binary: Binary streams typically format bytes separated by spaces for human readability (e.g. `01001000 01100101` for "He").