Text To Binary
Convert text into binary code, turning each character into zeros and ones. No signup. Ideal for learning, projects, encoding messages and understanding how text becomes binary.
Share on Social Media:
A text to binary converter turns readable text into binary code — the zeros and ones computers use. Paste your text, click Convert to Binary, and every byte becomes an 8-bit binary group: “Hi” becomes 01001000 01101001. It is free, needs no signup, and works for letters, numbers, punctuation, accented characters, and emoji.
On this page
- How to Convert Text to Binary Step by Step
- What Text to Binary Encoding Is
- Encoding Text Versus Converting a Number
- Who Converts Text to Binary
- Pro Tips for Working With Text and Binary
- Common Text to Binary Mistakes to Avoid
- Related Tools You May Need Next
- Frequently Asked Questions
How to Convert Text to Binary Step by Step
- Type or paste your text. Type or paste it into the box above — a word, a sentence, or a whole paragraph. You can also upload a
.txtfile instead, and the tool converts the file’s contents. - Click “Convert to Binary”. The tool sends your text to the server and returns the binary. There are no settings to choose: the output is always space-separated 8-bit groups.
- Read the binary output. Under the “Result” heading you get one 8-bit group per byte, separated by spaces — for example, “Hi” gives
01001000 01101001. - Copy it or save it. Click “Copy to Clipboard” to copy the binary, or “Save as TXT” to download it as a
text-to-binary.txtfile. The result is not saved on the site, so copy it before you leave the page.

What Text to Binary Encoding Is
Text to binary encoding turns each character into its numeric character code, then writes that code in binary. Computers store text as bytes, and this tool shows you exactly what those bytes look like: one 8-bit group per byte, with a space between groups so you can see where each byte ends.
For plain English letters, one character is one byte, so one character gives one group. The letter A has code 65, and 65 in binary is 01000001. A space has code 32, which is 00100000, and a line break has code 10, which is 00001010.
| Character | Character code | Binary |
|---|---|---|
| A | 65 | 01000001 |
| H | 72 | 01001000 |
| a | 97 | 01100001 |
| i | 105 | 01101001 |
| 0 | 48 | 00110000 |
| Space | 32 | 00100000 |
| ! | 33 | 00100001 |
| , | 44 | 00101100 |
| Line break | 10 | 00001010 |
Worked example — “Hi”: H has code 72, which is 64 + 8, so it becomes 01001000. The letter i has code 105, which is 64 + 32 + 8 + 1, so it becomes 01101001. Together: 01001000 01101001 — 2 characters, 2 groups, 16 bits.
Worked example — “Hello, World!”: 13 characters become 13 groups and 104 bits (13 × 8):
01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 00100001
Characters outside basic English take more than one byte, so they take more than one group. The letter é (U+00E9) is stored as two bytes, C3 A9, and becomes two groups: 11000011 10101001. The emoji 😀 (U+1F600) is stored as four bytes, F0 9F 98 80, and becomes four groups: 11110000 10011111 10011000 10000000. So the rule is one 8-bit group per byte, not one group per character.

Encoding Text Versus Converting a Number
Encoding text and converting a number sound similar, but they give different answers. Text to binary treats the input as characters and encodes each character’s code. Converting a number to binary takes a single numeric value and writes that value in base two.
The difference is easy to see with digits. Type 123 as text and each digit is encoded separately: 1 is code 49 (00110001), 2 is code 50 (00110010), and 3 is code 51 (00110011), giving 00110001 00110010 00110011 — 24 bits. Convert the number 123 itself to binary and you get 1111011 — just 7 bits. Same digits, completely different output, because one is text and the other is a number.
| Text to binary | Number to binary | Text to hex | |
|---|---|---|---|
| Input is | Text, character by character | A single number | Text, character by character |
| Each unit becomes | One 8-bit group per byte | The binary of the value | Two hex digits per byte |
123 gives | 00110001 00110010 00110011 | 1111011 | 31 32 33 |
A gives | 01000001 | Not a number — no result | 41 |
| Use it to | See how text is stored | Work with values in base two | See the same bytes in hex |
If you want the reverse direction, the Binary to Text tool decodes binary back into readable text.
Who Converts Text to Binary
Students. Seeing “Hi” become 01001000 01101001 makes character encoding concrete instead of abstract, which helps in computer science classes and exams.
Programmers. Checking the exact binary form of a string while debugging encoding, data formats, or network messages.
Puzzle and message makers. Encoding a short message as zeros and ones for a game, a puzzle, or a fun note to a friend.
Curious learners. Anyone who wants to see how the text on their screen is really stored inside a computer.
Teachers. Demonstrating binary encoding live in class with a word the students choose themselves.

Pro Tips for Working With Text and Binary
Keep the spaces between groups. The spaces mark where each byte ends. Without them, 0100100001101001 is much harder to read — and harder to decode back.
Decode it back to check. Paste your binary into the Binary to Text tool. If the original text comes back, your encoding is correct.
Remember that é and emoji take extra groups. An accented letter becomes two groups and an emoji becomes four, because they need two or four bytes. Count bytes, not characters, when you work out the length.
Use Save as TXT for long output. A 5,000-character text produces about 45,000 characters of binary. Downloading it as a file is easier than selecting it on screen.
Copy before you leave. The result is shown on the page only; it is not saved to your account or to the site.
Compare with hex for a shorter view. The same text in hex takes two characters per byte instead of eight bits — try the Text to Hex tool when binary is too long to scan.
Common Text to Binary Mistakes to Avoid
Expecting one group per character. That is true for A–Z, 0–9, and basic punctuation, but é gives two groups and 😀 gives four. If your group count is higher than your character count, that is why.
Typing digits as text and expecting the number’s binary. 123 as text gives 00110001 00110010 00110011, not 1111011. The number 123 and the text “123” are different inputs.
Deleting the spaces between groups. Removing the spaces makes the output unreadable and, for multi-byte characters, impossible to split back into bytes correctly. Keep the spaces if you plan to decode it later.
Reading the groups as decimal numbers. 01000001 is binary for 65, not the number 1000001. Each group is base two, not base ten.
Forgetting that a space is a character too. The space between two words becomes its own group, 00100000. A sentence with spaces always has more groups than its letters alone.
Related Tools You May Need Next
Binary to Text — decode binary back into readable text, to check your encoding or read someone else’s. Text to Hex — the same text as hexadecimal, two digits per byte instead of eight bits. Text to ASCII — see the decimal character code of each letter. ASCII to Binary — convert ASCII codes into binary groups. Binary to ASCII — convert binary groups back into ASCII characters. Binary to Hex and Hex to Binary — switch the same value between binary and hexadecimal. Decimal to Binary and Binary to Decimal — convert a plain number to binary, or binary back to a number. Base64 Encode Decode — encode text as Base64, the format often used for email attachments and data URLs. Morse Code Translator — turn text into dots and dashes instead of zeros and ones. MD5 Generator — make a fixed-length hash of your text for checksums and verification.
Frequently Asked Questions
How do I convert text to binary?
Type or paste your text into the box, click “Convert to Binary”, and read the result. Each byte of your text becomes one 8-bit group, separated by spaces. You can copy the result or save it as a TXT file.
What is “Hi” in binary?
01001000 01101001. H has code 72, which is 01001000, and i has code 105, which is 01101001.
What is text to binary encoding?
It is the process of turning each character of text into its numeric character code, then writing that code in binary. Computers store text as bytes, and this conversion shows those bytes as groups of eight zeros and ones.
Why is each binary group 8 digits long?
Because each group is one byte, and one byte is 8 bits. A single byte can hold values from 0 to 255, which covers all basic English letters, digits, and punctuation.
Can this tool convert emoji to binary?
Yes. Emoji are stored as four bytes, so each emoji becomes four 8-bit groups. For example, 😀 becomes 11110000 10011111 10011000 10000000.
Why does é become two binary groups?
Because é needs two bytes in UTF-8 (C3 A9). The tool encodes byte by byte, so it gives two groups: 11000011 10101001. Accented letters take two groups; most emoji take four.
What is the difference between text to binary and number to binary?
Text to binary encodes each character’s code — the text 123 becomes 00110001 00110010 00110011. Number to binary converts a single value — the number 123 becomes 1111011. Same digits, different meaning.
How do I convert binary back to text?
Use the Binary to Text tool. Paste the binary groups (with their spaces) and it returns the original text.
Is there a character limit?
No limit is stated on the tool, and a 5,000-character text was converted successfully in testing. For very long texts, use “Save as TXT” to download the result instead of copying it from the screen.
Is the text to binary converter free?
Yes. It is free with no signup and no account. You can also upload a .txt file to convert instead of pasting text.