Text ↔ Binary Converter
Convert any text to binary code and vice versa with precision
Usage Instructions
To convert text to binary: Type in the left text box and click "Text → Binary".
To convert binary to text: Enter binary code (8 bits per byte, space separated) in the right box and click "Binary → Text".
Valid example: 01001000 01101111 01101100 01100001 (which means "Hello")
About the Binary System
How does the conversion work?
This converter transforms each character of your text into its binary representation according to the UTF-8 standard, which can use between 1 and 4 bytes per character.
The conversion follows these steps:
- Gets the Unicode code for each character
- Converts the Unicode value to binary (base 2)
- Pads with leading zeros to complete 8 bits per byte
- Joins the bytes with spaces for better readability
Common ASCII Table
ASCII characters (0-127) use only 1 byte:
| Character | Binary | Decimal |
|---|---|---|
| A | 01000001 | 65 |
| a | 01100001 | 97 |
| 1 | 00110001 | 49 |
| @ | 01000000 | 64 |
| Space | 00100000 | 32 |