Text to binary converter

Type or paste text and see it as binary: every character written as bits, in bytes of eight. Hi becomes 01001000 01101001.

Separator

How it works

  1. Paste your text

    Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.

  2. Instant result

    The result appears as you type. Change the options and see straight away what changes.

  3. Copy or download

    Copy the result with one click, save it as a file or use it as input for a next step.

How it works

Text is first encoded as UTF-8, the standard on the web, and every byte is shown as eight binary digits. Plain letters and digits take one byte each: H is 01001000. Characters outside the basic alphabet take more: é is two bytes and an emoji such as 😀 is four. The note under the result shows the total number of bytes.

Choose whether the bytes are separated by a space (easier to read) or written together with no separator.

Going back

Paste the binary into the binary to text converter to read it again. For the same bytes in base 16, use text to hexadecimal, and for the decimal codes, text to ASCII.

Frequently asked questions

Is the text to binary free?

Yes. The text to binary is completely free, with no account, sign-up or usage limit.

Is my text stored?

No. Your text is processed in your browser and is not sent to a server or stored.

Is there a maximum length?

No, there is no fixed limit. Very long texts can just be a little slower.