TextBinary

Encode words into bits

Text to Binary

Type a sentence and get the bits back, eight per character. Copy the result or share a link that reopens with your text already filled in.

Runs in your browser. Nothing is uploaded.

Text output

0 bytes 0 characters

Text to binary in one box

Type or paste a sentence, get the bits. The converter reads your text as UTF-8, which means plain English takes eight bits per character while accented letters and other scripts take more, and it puts a space between bytes so the result is readable rather than one enormous line.

The output is meant to be copied, so there is a copy button next to the box and a share link that reopens the page with the same text already filled in. Nothing is uploaded: the encoding happens in your browser.

What happens to each character

Three steps, and none of them are secret:

  1. Every character becomes a number. In ASCII, A is 65, a is 97, a space is 32 and the digit 7 is 55.
  2. That number is written in eight binary digits. 65 becomes 01000001, 97 becomes 01100001.
  3. The bytes are placed one after another, with a space between them for readability.

Text that is not plain English skips the ASCII table and uses UTF-8, where a character can take two, three or four bytes. That is why the same sentence in another script produces a much longer line of bits: it is not more information, it is a different alphabet.

Examples you can copy into the box

Text Binary
Hi 01001000 01101001
Hello 01001000 01100101 01101100 01101100 01101111
2026 00110010 00110000 00110010 00110110
Binary 01000010 01101001 01101110 01100001 01110010 01111001

Type any of those into the box above and you get the left column back. Doing it in both directions is the fastest way to convince yourself that the table is real and not arbitrary.

Why the output has spaces between bytes

Strictly speaking a byte string is one continuous run of digits. The spaces exist for humans: 0100100001100101 and 01001000 01100101 are the same data, and both decode to Hi. Grouping in eights means you can count characters at a glance, and it makes it obvious when something was cut off mid-character.

If you need it without the spaces, delete them in the output; if you are feeding a string into another program, keep them only if that program expects them. This converter ignores spaces on the way back in either way.

Text to binary converter online: what to check in any tool

There are dozens of pages doing this, and they mostly agree. Four things are worth checking before you trust the output:

  1. Which character set it uses. ASCII and UTF-8 give the same bytes for English and different bytes for everything else. A tool that names neither may quietly mangle accented letters.
  2. Whether it pads to eight bits. 1000001 is 65, the same byte as 01000001. Both are valid, but the padded form is the one that lines up in columns.
  3. Whether it separates bytes. No separation is technically fine and harder to read; this page adds a space.
  4. Whether it sends your text anywhere. Encoding is a local operation. A page that uploads your sentence to a server to do it is doing something it does not need to do, and the answer is usually slower as a result.

Going the other way

Encoding is the easy direction because there is only one sensible answer. Decoding is where the guessing starts, so if you are holding a string of bits and want the message, use binary to text instead. Sentence-level translation of longer text is covered on the binary translator page, and the home page has the general binary converter that handles both directions.

When the bits look wrong

Answers

Text to binary questions

How many bits does one letter take?

Eight bits for plain English letters, digits, punctuation and the space character. Accented letters usually take two bytes, characters from other scripts two or three, and most emoji four, because longer text uses UTF-8 where one character can span several bytes.

Can I convert a whole paragraph?

Yes, ordinary text is handled without a practical limit and you get the bytes back instantly. If the source is not a photograph of text or a scanned page, paste it directly into the box.

Is binary a way to hide a message?

No. It is the text you typed written in another alphabet, so anyone can turn it back. It is useful for exercises, puzzles and machine output, and useless as a way to hide information.

Do the spaces between bytes matter?

Only the 0s and 1s are read, so spaces, commas, tabs and line breaks can all stay. If you remove the spaces entirely the result is still decodable, you just have to count in eights to check it by hand.

Do I need to install anything to copy the result?

No, but there is a copy button and a share link, which is usually faster than selecting text with a finger. The share link reopens the page with the same input filled in, which helps when you are showing someone else how it works.

What did you decode?

Paste your result, ask about a string that came out wrong, or leave a tip for the next person. Plain text only.