Type a tool name, for example "keyword density" or "transcript".
Enter or paste your text below to convert it into binary code.
Drag & drop a file here or click to browse
Text to binary means turning every character you type into the 1s and 0s that computers store. This free text to binary converter takes typed, pasted or uploaded .txt text and returns 8-bit binary, one byte per group, ready to copy or download for homework, coding practice, puzzles or quick checks.
Text in binary is a string of characters rewritten as base-2 numbers, where every character becomes one or more bytes and every byte is written as eight digits of 0 or 1. Computers never store the letter "A" itself. They store a number, and that number is saved as bits.
The classic mapping is ASCII, which assigns numbers 0 to 127 to English letters, digits, punctuation and control characters. Capital "A" is 65, which is 01000001 in binary. Lowercase "a" is 97, or 01100001.
Characters outside ASCII, such as accented letters, currency symbols and emoji, use the UTF-8 encoding. UTF-8 keeps ASCII identical but writes other characters with two to four bytes. This converter follows that standard, so "é" produces two 8-bit groups instead of one.
Look up the character's decimal code, divide it by 2 repeatedly, and write the remainders in reverse order. For "H" (72): 72 ÷ 2 = 36 r0, 36 ÷ 2 = 18 r0, 18 ÷ 2 = 9 r0, 9 ÷ 2 = 4 r1, 4 ÷ 2 = 2 r0, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1. Reading the remainders backward gives 1001000. Pad it with a leading zero to reach eight digits: 01001000.
| Character | Decimal | 8-bit binary |
|---|---|---|
| A | 65 | 01000001 |
| a | 97 | 01100001 |
| 0 (digit) | 48 | 00110000 |
| Space | 32 | 00100000 |
| ! | 33 | 00100001 |
You can convert a message in under a minute by typing text, choosing an input method and pressing one button. Follow these steps.
Converting "Hi!" produces three 8-bit groups, one for each character. Each group is the character's code written in binary.
010010000110100100100001The full output is 01001000 01101001 00100001. Three groups means three bytes, and because every group starts with 0, you can tell the text is plain ASCII.
Now try "é". The output is 11000011 10101001, two groups. The leading 110 on the first group signals a two-byte character, which is how UTF-8 tells a reader that the characters belong together.
The output is a list of 8-digit groups separated by single spaces, and each group is one byte of your text. To read it by hand, convert each group back to decimal and look up the character.
01000001 and "a" is 01100001, a difference of 32.00001010.00100000.Need the original text back? Paste the binary into the binary to text converter to check that it decodes to your message. If you need a continuous string with no gaps, remove the spaces with the string and text replacer. Want to see which characters repeat the most? The character frequency counter shows that quickly.
Anyone who needs to see how text looks at the byte level benefits from it. Typical situations include these.
If you enjoy encoding games, text to Morse code is another way to turn a message into a simple symbol system.
Most surprises come from invisible characters or from assuming one character always equals one byte. These habits prevent them.
1001000 instead of 01001000 breaks decoding later.The converter follows standard character encoding, so the same text always gives the same binary. It has a few boundaries you should know about.
For related cleanup and formatting jobs, browse the full text utility tools collection.
This free tool gives you correct 8-bit binary for any text in a few seconds, with copy and download options when you are done. Type a phrase, click Convert to Binary, and compare the output against the examples above to see exactly how your message is stored.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market