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.

Reviewed · Binary Code Translator project · Free to use
On this page
LIVE CONVERTER Runs in this browser

First 24 code points in the selected encoding
CharacterDecimal bytesHex bytesBinary bytes
M774D01001101
a976101100001
k1076B01101011
e1016501100101
Space322000100000
i1056901101001
t1167401110100
Space322000100000
r1147201110010
e1016501100101
a976101100001
d1006401100100
a976101100001
b986201100010
l1086C01101100
e1016501100101
.462E00101110
01

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.

  1. Enter a word or message. Leave UTF-8 selected unless the receiving system requires ASCII.
  2. Choose Encoding groups and a space separator to keep the bytes easy to check.
  3. Inspect the character table, then copy the complete result or download TXT. Swap reverses the conversion using the same encoding.
02

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.

UTF-8 examples: one code point can occupy several bytes
CharacterCode pointHex bytesBinary bytes
AU+00414101000001
SpaceU+00202000100000
éU+00E9C3 A911000011 10101001
U+4E2DE4 B8 AD11100100 10111000 10101101
🙂U+1F642F0 9F 99 8211110000 10011111 10011001 10000010
03

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.

04

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.

Permalink
Should 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.

Permalink
Are 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.

Permalink
Why 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.

Permalink
How 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.

Permalink
Can 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.

Permalink
Is 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.

Permalink
How 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

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.