Text to Binary Converter

Convert text to binary (UTF-8) and binary back to text.

Runs instantly in your browser — results update as you type.

How is text converted to binary?

Text is converted to binary by encoding each character as bytes (UTF-8) and writing every byte as eight 0s and 1s. For example "H" is 01001000.

How it works

  • Text → Binary: each character is encoded in UTF-8; ASCII characters take one byte, accented letters two and emoji four.
  • Binary → Text: paste groups of 8 bits (spaces and line breaks are ignored) to decode them.

Example

Hi → 01001000 01101001

Use it for learning how computers store text, puzzles and CTF challenges, or debugging encodings. For a shorter representation, see the Text to Hex Converter.

Frequently asked questions

Why do some characters use 16 or 32 bits?

UTF-8 uses more bytes for characters outside basic ASCII, such as é (2 bytes) or emoji (4 bytes).

Why does decoding fail?

The input must be complete groups of 8 bits that form valid UTF-8.

Is binary the same as ASCII code?

For basic English letters, the UTF-8 binary equals the ASCII code.