Number Converters · Browser · Free
Text to Binary Converter
Type or drop the text you want encoded and press Convert to get the binary value of each character. You can pick the character encoding and delimiter, inspect selections, save files, and swap to binary-to-text conversion.
What the converter does
Enter text directly into the input area or load a text file with Open File or drag and drop. Choose an encoding such as ASCII, UTF-8, or UTF-16, and pick a delimiter including space, comma, none, or a user-defined delimiter.
Press Convert to generate the binary digits. Use View selection to highlight matching bytes in the output, Copy to place the result on your clipboard, or Save to download as binary-output.txt.
Use Swap conversion to navigate to the binary-to-text converter with your current input value.
The character-to-byte formula
ASCII gives one byte to each character for codes 0-127, so one character lines up with one 8-bit binary value. In the table the letter A is 01000001 and the digit 0 is 00110000.
Small letters keep their own values: a is 01100001 and z is 01111010. Punctuation follows the same pattern, with ! as 00100001 and ? as 00111111.
UTF-8 uses one to four bytes, so a single character can produce multiple byte values. The chosen delimiter separates each 8-bit group in the output.
| Character | Binary |
|---|---|
| A | 01000001 |
| B | 01000010 |
| Z | 01011010 |
| a | 01100001 |
| b | 01100010 |
| z | 01111010 |
| 0 | 00110000 |
| 9 | 00111001 |
| ! | 00100001 |
| ? | 00111111 |