Text to Binary Converter

Converts text to binary, written as groups of zeros and ones, and converts binary back to text. It is useful for learning how computers store characters, for puzzles and messages, and for checking what a binary string says.

Up to 1 MiB.

Options

How to use the Text to Binary Converter

  1. Choose Text to binary or Binary to text, then type or paste.
  2. The result appears as you type.

Rules applied

  • Text is converted as UTF-8 bytes, so letters outside English use 2–4 bytes (é is 11000011 10101001).
  • When decoding, groups can be separated by spaces or line breaks, or written as one run whose length is a multiple of 8.

Limitations

  • Decoded bytes must be valid UTF-8 text. Output is limited to 4 MiB.

Worked examples

Encode

Input

Hi!

Result

01001000 01101001 00100001
Decode

Input

01001011 01010100

Result

KT

Practical uses

  • Learning how text is stored

    A student new to computing converts a short word to binary to see how each character becomes a group of bits. They then switch to Binary to text and decode the result back. Trying a word with an accent shows that some letters take more than one byte.

  • Making a puzzle message

    A teacher writes a clue in binary for a classroom treasure hunt. Pupils can decode it with the tool, or by hand if the teacher wants a harder challenge. The activity shows how text is stored while keeping the lesson playful.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.