Text to Binary Converter
Convert text to binary code and binary to text. Supports ASCII, hexadecimal, and decimal conversions. Free and works in your browser.
Input
Output
Output will appear here...
π’ Understanding Binary
Binary is a base-2 number system using only 0s and 1s. Basic English letters take 8 bits (1 byte) each. This converter uses UTF-8, so accented letters take 2 bytes and emoji take 4 β and they convert back correctly.
| Character | Binary | Hexadecimal | Decimal |
|---|---|---|---|
A |
01000001 |
41 |
65 |
a |
01100001 |
61 |
97 |
0 |
00110000 |
30 |
48 |
Space |
00100000 |
20 |
32 |
β¨ Use Cases
- Programming: Understand how computers store text
- Learning: Study binary and ASCII encoding
- Debugging: Analyze binary data and protocols
- Cryptography: Work with binary representations
- Data Analysis: Convert between different number systems
- Education: Teach binary and hexadecimal concepts
π‘ Conversion Formats
- Binary: 8-bit representation (e.g., 01001000 for 'H')
- Hexadecimal: Base-16 representation (e.g., 48 for 'H')
- Decimal: Base-10 ASCII codes (e.g., 72 for 'H')
- Text: Human-readable characters
Tip: Binary output includes spaces between bytes for readability. Hexadecimal and decimal outputs show space-separated values.
π Format Examples
- Binary input: Separate bytes with spaces (01001000 01101001)
- Hex input: Separate values with spaces (48 69 21)
- Decimal input: Separate ASCII codes with spaces (72 105 33)
- Text input: Type normally, all printable characters supported
Frequently asked questions
How do I convert text to binary?
Choose Text as the input and Binary as the output, paste your text and press Convert. Letters such as ΓΌ are stored as UTF-8 bytes and convert back correctly.
Does binary input need spaces?
No. You can paste groups separated by spaces or one long run of bits, which is read 8 bits at a time.