Text to Binary Code Translator
Convert words, spaces, symbols, or emoji into binary bytes. Choose UTF-8 for multilingual text or strict ASCII for seven-bit characters, then inspect and copy the encoded result. Your input stays in this browser.
On this page
| Character | Decimal bytes | Hex bytes | Binary bytes |
|---|---|---|---|
| M | 77 | 4D | 01001101 |
| a | 97 | 61 | 01100001 |
| k | 107 | 6B | 01101011 |
| e | 101 | 65 | 01100101 |
| Space | 32 | 20 | 00100000 |
| i | 105 | 69 | 01101001 |
| t | 116 | 74 | 01110100 |
| Space | 32 | 20 | 00100000 |
| r | 114 | 72 | 01110010 |
| e | 101 | 65 | 01100101 |
| a | 97 | 61 | 01100001 |
| d | 100 | 64 | 01100100 |
| a | 97 | 61 | 01100001 |
| b | 98 | 62 | 01100010 |
| l | 108 | 6C | 01101100 |
| e | 101 | 65 | 01100101 |
| . | 46 | 2E | 00101110 |
How to turn text into binary
Enter the text itself. Entering 65 encodes two characters, 6 and 5; it does not produce the byte for A. To convert the number sixty-five, use the decimal converter.
- Enter a word or message. Leave UTF-8 selected unless the receiving system requires ASCII.
- Choose Encoding groups and a space separator to keep the bytes easy to check.
- Inspect the character table, then copy the complete result or download TXT. Swap reverses the conversion using the same encoding.
Why one character is not always one byte
A has one UTF-8 byte, while 中 has three. The table gives exact values you can reproduce by entering each example separately. Hexadecimal and binary are different displays of the same bytes.
The emoji shown here is one Unicode code point. Some visible emoji combine several code points and therefore use more than four UTF-8 bytes. The inspector groups by code point, not by visual glyph.
| Character | Code point | Hex bytes | Binary bytes |
|---|---|---|---|
| A | U+0041 | 41 | 01000001 |
| Space | U+0020 | 20 | 00100000 |
| é | U+00E9 | C3 A9 | 11000011 10101001 |
| 中 | U+4E2D | E4 B8 AD | 11100100 10111000 10101101 |
| 🙂 | U+1F642 | F0 9F 99 82 | 11110000 10011111 10011001 10000010 |
Keep spaces and grouping separate
The space between words is real data: A B becomes 01000001 00100000 01000010. The spaces between displayed bytes are only separators. Removing display separators does not remove the encoded space byte.
ASCII accepts values 0–127. A is 1000001 in seven-bit display or 01000001 in eight-bit storage. Neither ASCII option encodes é or emoji. Four-bit output grouping changes presentation, not character encoding.
Limits and complete output
Input accepts up to 20,000 UTF-16 code units, including whitespace; some emoji count as two units. The inspector shows the first 24 code points, but the result, copy action, and TXT download contain the full conversion.
This is encoding, not encryption: someone who knows the format can recover your text. Use the generator for a printable message rather than a data file.
Frequently asked questions
How do I turn a word or sentence into binary?
Enter the original text, choose its encoding, and copy or download the generated bits. For Hi in UTF-8, the result is 01001000 01101001. Entering the text 65 encodes the characters 6 and 5; to convert the number sixty-five into 1000001, use the decimal converter instead.
PermalinkShould I choose UTF-8, seven-bit ASCII, or eight-bit ASCII?
Use UTF-8 unless the receiving system specifies ASCII. Both ASCII options accept only values 0–127: A is 1000001 in seven-bit display and 01000001 in eight-bit storage. Eight-bit storage does not add accented letters or an extended ASCII character set. Send the encoding choice along with the bits.
PermalinkAre uppercase and lowercase letters different in binary?
Yes. Uppercase A is 01000001 and lowercase a is 01100001 in ASCII and UTF-8. The encoder preserves your capitalization rather than converting everything to one case. If a decoded word has the wrong case, compare its bytes with the source instead of assuming the difference is only formatting.
PermalinkWhy do Chinese characters or emoji produce more binary groups?
UTF-8 uses one to four bytes per Unicode code point. For example, 中 becomes 11100100 10111000 10101101, while 🙂 uses four bytes. Some visible symbols combine several code points and need still more bytes. Choose UTF-8 for these inputs; strict ASCII deliberately rejects them rather than substituting another character.
PermalinkHow are spaces and line breaks in my message encoded?
A message's space is data: in UTF-8 or eight-bit ASCII it becomes 00100000. A line feed is 00001010. Display separators between groups are different: selecting a new-line separator only changes how the bits are laid out. It does not insert additional line-feed bytes into the encoded message.
PermalinkCan I remove spaces or display the output in four-bit groups?
Yes. Select No grouping for a continuous bit stream, or choose four-bit grouping for easier visual comparison. These settings change presentation, not encoding. A recipient must regroup the stream using the original seven- or eight-bit encoding; four displayed bits do not represent a complete UTF-8 character.
PermalinkIs the output incomplete when the inspector stops at 24 characters?
No. The inspector previews the first 24 Unicode code points, while the output field, Copy, and Download TXT retain the complete conversion. The input field accepts up to 20,000 UTF-16 code units, including whitespace; some emoji use two units. Keep a separate copy of your source before editing a long message.
PermalinkHow can I check that the binary converts back to my original text?
Copy the bits into the text decoder and select the same encoding, or use Swap for a result that fits the input field. Compare the recovered text with the original, including case, spaces, and line breaks. A successful round trip checks that conversion; it does not make the binary an encrypted message.
Permalink↑ Back to the converter · Page contents
Sources & verification
Reference material used for this explanation. The examples are reproducible with the tools on this site; see how they are checked.
Found a mismatch? Send a correction with a source.