⚡ 107+ free online tools — no sign-up, no watermarks. Explore now →

★ Free Text Tool

Text to Binary Converter

Convert text to binary, hex, decimal or octal using UTF-8, with your choice of separator.

Loading the tool…

Runs entirely in your browser. Your files and text are never uploaded to our server.

About this toolText to Binary turns your text into binary code as you type. It encodes text as UTF-8, the encoding used by the web, so any language and emoji convert correctly.
Learn more
  • Instant results
  • 100% free
  • No sign-up
  • Private

Text to Binary turns your text into binary code as you type. It encodes text as UTF-8, the encoding used by the web, so any language and emoji convert correctly. Each byte becomes a group of 8 bits.

You can also output hexadecimal, decimal or octal bytes, and separate them with spaces, commas, new lines or nothing. To decode binary back to text, use the Binary to Text converter.

More about Text to Binary ConverterHow to use, good to know & FAQ

How to use Text to Binary

  1. Type or paste your text.
  2. Choose the output format (binary, hex, decimal or octal) and a separator.
  3. Copy the result or download it as a .txt file.

Good to know

  • In UTF-8, basic English letters use 1 byte (8 bits). Accented letters, Urdu, Arabic and most other scripts use 2–3 bytes, and emoji use 4.
  • Example: “Hi” is 01001000 01101001.
  • Conversion happens in your browser. Nothing is sent anywhere.

Frequently asked questions

How is text converted to binary?

Each character is encoded as UTF-8 bytes, and each byte (0–255) is written in base 2 as eight 0s and 1s.

Is this ASCII or UTF-8?

UTF-8. For the basic English characters, UTF-8 and ASCII give exactly the same bits.

Why does one emoji give four groups?

Emoji are outside the basic range, so UTF-8 needs 4 bytes (32 bits) to store each one.

When to use Text to Binary

Use it for computer science homework, learning how encoding works, puzzles and messages, or checking the bytes of a string.