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. Each character is represented by 8 bits (1 byte).

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

← Back to all tools