DevKits

Text to Binary Converter — UTF-8 Bit String Online

Convert any text to its binary (base-2) representation. Each UTF-8 byte becomes an 8-bit group, separated by your choice of delimiter. Supports emoji and any Unicode character. Also converts back — see the Binary to Text tool. 100% local.

Last updated:

Byte separator:
16 chars · 1 lines
18 bytes

Need to go the other way? Binary to Text →

Convert any text to its UTF-8 binary representation. Each byte is an 8-bit group, separated by a space (or the delimiter of your choice). Works with emoji and every Unicode character — 'A' → '01000001', '😀' → '11110000 10011111 10011000 10000000'.

What is Text to Binary?

Text-to-binary is the sequence of two well-defined transformations: text → UTF-8 bytes → base-2. Modern tools should always use UTF-8 as the intermediate encoding — legacy 'ASCII to binary' tools break on anything outside 0–127 (accented Latin, CJK, emoji all fail). This tool uses the browser's built-in TextEncoder, which is a Unicode-conformant UTF-8 encoder. Output is one 8-bit group per byte, so an ASCII character is a single group (e.g. 'A' = 01000001), an accented Latin character is two groups (é = 11000011 10101001), a CJK character is three (中 = 11100100 10111000 10101101), and most emoji are four (😀 = 11110000 10011111 10011000 10000000).

How to convert text to binary online

  1. 1Paste text into the input pane. Any Unicode character works.
  2. 2Pick a separator (space, comma, hyphen, newline, or none) — default is single space, which is the most readable.
  3. 3Copy the binary output. Every 8 consecutive bits is one UTF-8 byte.
  4. 4To go back, paste into the Binary to Text tool — separators are ignored on the reverse side.

Use Cases

CS coursework and homework

Verify by-hand conversions: encode 'Hello' as binary, compare with your worked answer, spot the byte where you dropped a bit.

Explain UTF-8 in a talk

Show side-by-side that 'A' is 1 byte, 'é' is 2, '中' is 3, and '😀' is 4 — a live demo of UTF-8's variable-width encoding.

Prepare data for a low-level protocol demo

Generate exact bit-level input for a network / device simulator that consumes binary strings.

Create puzzle / escape-room clues

Convert a hidden message to binary, print on a card, and let solvers decode it.

Key Concepts

UTF-8
The dominant Unicode encoding on the web. Variable-length: 1 byte for ASCII, up to 4 bytes for any Unicode code point.
Bit vs byte
1 byte = 8 bits. Binary text tools group bits into bytes because CPUs, network protocols, and file formats work in bytes.

Tips & Best Practices

  • The 'none' separator produces a continuous bit stream — great for hand-verifying, painful to skim.
  • Emoji almost always take 4 bytes in UTF-8. Combining sequences like 👨‍👩‍👧 can hit 25+ bytes (four glyphs joined by zero-width joiners).
  • If you need old-school pure ASCII-to-binary, the ASCII table tool shows the fixed 7-bit code for characters 0–127.
  • Binary output is symmetric with hex — 8 bits ↔ 2 hex chars. The Number Base Converter can flip between them.

Frequently Asked Questions

Which encoding does the tool use?

UTF-8 by default — each byte becomes an 8-bit group. So 'A' (U+0041) is one byte, '01000001'. Emoji like 😀 (U+1F600) becomes four bytes: '11110000 10011111 10011000 10000000'.

How is this different from ASCII to binary?

For characters in the ASCII range (0–127), UTF-8 and ASCII produce identical binary output. For anything beyond that — accents, CJK, emoji — UTF-8 uses 2, 3, or 4 bytes per character. Pure ASCII-to-binary tools break on non-ASCII input.

Can I use a comma or no separator instead of a space?

Yes. Pick from space, comma, hyphen, newline, or 'none' (a continuous bit stream). The reverse tool accepts any of these.

Is my text uploaded anywhere?

No. Encoding runs entirely in your browser using TextEncoder.

Related Tools