To convert text to binary, type or paste your text into a binary converter, which changes each character into an 8-bit binary number using the ASCII table, then copy the result. For example, the letter A becomes 01000001, a space becomes 00100000, and the word Hi becomes 01001000 01101001. It works for letters, numbers, punctuation, and spaces.
Computers store and process information as binary digits, called bits, which can only be 0 or 1. Every letter, number, space, and punctuation mark you type has a number in the ASCII table, and that number is written in binary. This guide from VexubAI shows you how to convert text to binary and how to convert binary back to text, with a worked example, an ASCII table, and the mistakes to avoid. You do not need to install software or learn to code.
Contents
- How to Convert Text to Binary, Step by Step
- How to Convert Binary to Text, Step by Step
- ASCII Table: Letters, Numbers, and Symbols in Binary
- Benefits of Using an Online Binary Converter
- Common Mistakes When Converting Text to Binary
- FAQs About Converting Text to Binary
How to Convert Text to Binary, Step by Step
The fastest way to convert text to binary is to use an online converter. It does the ASCII lookup for you, so you do not have to memorise any codes. Follow these five steps.
- Open the binary converter. Open the free binary converter in your browser. Nothing needs installing, and it works on a phone, tablet, or computer.
- Type or paste your text. Enter the text you want to change in the input box. It can be a single letter, a word, a sentence, or a longer passage.
- Choose the text-to-binary direction. Make sure the tool is set to change text into binary, not the other way round.
- Convert and check the result. Click the convert button and check the output. Each character should become one group of eight 0s and 1s, separated by spaces.
- Copy the binary code. Copy the result and paste it where you need it. Keep the original text too, so you can check it later.
For example, Hello becomes 01001000 01100101 01101100 01101100 01101111: H is 72 (01001000), e is 101 (01100101), l is 108 (01101100), and o is 111 (01101111). The two letter ls give the same binary group, because the same character always gives the same code.
You can also do it by hand: find each character’s ASCII number, then write it in binary using the place values 128, 64, 32, 16, 8, 4, 2, and 1. For A, the number is 65 (64 + 1), so the code is 01000001. This is useful for learning, but slow for long text.
How to Convert Binary to Text, Step by Step
Converting binary back to text is the same process in reverse: each group of eight bits stands for one character. The free binary converter does the splitting for you, but the steps below show what happens behind the scenes.
- Open the binary converter. Open the converter and choose the binary-to-text direction.
- Paste the binary code. Paste the code into the input box. It should contain only 0s and 1s, with single spaces between the groups.
- Split the code into groups of eight bits. Count the digits in each group. Every group must have exactly eight bits. If the last group is shorter, a digit is missing.
- Convert each group to a character. Change each group into its decimal number, then find it in the ASCII table: 01000001 is 65, the letter A.
- Read the result. Join the characters in order and read the text. If it does not make sense, check the grouping again.
For example, 01000011 01100001 01110100 becomes Cat: 01000011 is 67 (C), 01100001 is 97 (a), and 01110100 is 116 (t). If the letters do not make sense, check that you started at the first digit and that every group has eight bits.
ASCII Table: Letters, Numbers, and Symbols in Binary
The ASCII table gives every common character a number from 0 to 127. The table below shows the characters you will use most often, with their decimal numbers and 8-bit binary codes. Uppercase and lowercase letters have different numbers, so A and a differ.
| Character | Decimal (ASCII) | Binary (8-bit) |
|---|---|---|
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| C | 67 | 01000011 |
| H | 72 | 01001000 |
| I | 73 | 01001001 |
| a | 97 | 01100001 |
| b | 98 | 01100010 |
| h | 104 | 01101000 |
| i | 105 | 01101001 |
| 0 | 48 | 00110000 |
| 1 | 49 | 00110001 |
| 9 | 57 | 00111001 |
| Space | 32 | 00100000 |
| ! | 33 | 00100001 |
| . | 46 | 00101110 |
| ? | 63 | 00111111 |
Use the table to check a result or convert a short word by hand. For longer text, a converter is faster, because one wrong bit changes the character completely.
Benefits of Using an Online Binary Converter
An online binary converter saves time and removes the arithmetic. These are the main benefits.
- Speed. A converter changes a whole paragraph in seconds; doing the same work by hand takes far longer.
- Accuracy. The tool looks up every character in the ASCII table, so it does not drop a leading zero or miscalculate a place value.
- Free and no installation. Use it in a browser without downloading software, creating an account, or paying.
- Works both ways. The same tool changes text into binary and binary back into text, so you can check your work either way.
- Good for learning. Comparing input and output side by side shows how each character maps to its eight-bit code.
If you are converting a list, tidy it first with the remove duplicate lines tool, so you do not convert the same line twice.
Common Mistakes When Converting Text to Binary
Most binary mistakes come from small errors in the input or grouping. Watch out for these three.
1. Using an incomplete byte. Every character needs a full group of eight bits, including any leading zeros. If you write 1000001 instead of 01000001, the group has only seven bits, and a converter may read it as a different character or refuse it.
2. Using characters that are not 0 or 1. Binary input must contain only the digits 0 and 1. A common error is typing the letter O instead of the digit 0, or the letter l instead of the digit 1. Check the input carefully before converting.
3. Confusing binary with encryption. Binary is a way of writing text, not a way of hiding it. Anyone who knows the ASCII table can turn binary back into readable text in seconds. Do not use binary to protect passwords or private information.
FAQs About Converting Text to Binary
How do I convert text to binary?
Paste your text into a binary converter, choose the text-to-binary direction, and copy the 8-bit binary output. Each character becomes one group of eight 0s and 1s, so the word Hi becomes 01001000 01101001.
What is the binary code for A?
The binary code for the capital letter A is 01000001. Its ASCII decimal number is 65, which is 64 + 1. The lowercase letter a is different: its code is 01100001, and its decimal number is 97.
How do I convert binary to text?
Split the binary code into groups of eight bits, change each group into its decimal number, and look up that number in the ASCII table. For example, 01000011 01100001 01110100 becomes Cat, because the groups stand for C, a, and t.
Is binary the same as encryption?
No. Binary is a way of writing characters as 0s and 1s, not a way of hiding them. Anyone with an ASCII table can read binary text, so it does not protect passwords or private information. Encryption, by contrast, scrambles data so that only someone with the key can read it.
Can I convert numbers and punctuation to binary?
Yes. Digits, spaces, and punctuation marks all have ASCII numbers, so they can all be written in binary. The digit 0 is 00110000, a space is 00100000, and an exclamation mark is 00100001.
Why is my binary output the wrong length?
Check that every character became a full group of eight bits, with leading zeros kept in place. A missing zero makes a group too short and shifts the characters that follow. Also check that you copied the whole text, including spaces.