Text to Binary Converter
Convert text to binary instantly — type on the left and the result appears on the right. Everything runs in your browser, nothing is uploaded.
How to convert text to binary
Each character you type has an ASCII code, and that code written as 8 bits is its binary form. Convert text to binary one character at a time.
Method: one byte per character, using the ASCII code that maps numbers to characters.
- Take each characterWork through the text one character at a time.
- Find its ASCII codeLook up the character's code — for example A is 65.
- Write the code as binaryWrite each ASCII code as an 8-bit binary number.
Examples Hi = 01001000 01101001A = 01000001
Text to Binary Table
Common text values with their binary equivalents.
| Text | Binary |
|---|---|
| A | 01000001 |
| B | 01000010 |
| C | 01000011 |
| a | 01100001 |
| b | 01100010 |
| c | 01100011 |
| 0 | 00110000 |
| 1 | 00110001 |
| 9 | 00111001 |
| ! | 00100001 |
| ? | 00111111 |
| @ | 01000000 |
Related conversions
Frequently asked questions
How do you convert text to binary?
Take each character, find its ASCII code, and write that code as an 8-bit binary number. 'A' is 65, which is 01000001.
What is 'A' in binary?
The letter A is 01000001 (ASCII 65); lowercase 'a' is 01100001 (97).
Does it work for spaces and symbols?
Yes — every character has a code, e.g. a space is 32 = 00100000.