Text to Binary Converter

Translate text into binary (or hex) and binary back into text.

🔒 Runs entirely in your browser. Nothing you enter is uploaded or stored.

What is the Text to Binary Converter?

Computers store text as numbers, and those numbers as binary: ones and zeros. In the standard ASCII range each character is one byte (8 bits). Capital A is 65, or 01000001. This text to binary converter shows the exact bytes behind any text and translates binary back into readable text.

The tool uses UTF-8, the encoding used by 98% of the web. Characters outside English, such as é (2 bytes), ₹ (3 bytes) or emoji (4 bytes), are converted correctly instead of being garbled. You can also show the bytes as hexadecimal, decimal or octal, which is handy for debugging encodings, network packets or programming exercises. Decoding accepts bytes separated by spaces, commas or new lines, or one continuous string of bits.

How to use the Text to Binary Converter

  1. Type text and click Text → Binary, or paste binary and click Binary → Text.
  2. Choose the number format (binary, hex, decimal or octal) and a separator between bytes.
  3. Copy the result, or swap it back into the input to check the round trip.

Frequently asked questions

How do you write "Hi" in binary?

H is 72 = 01001000 and i is 105 = 01101001, so "Hi" is 01001000 01101001.

Why does an emoji produce 4 bytes?

UTF-8 uses 1 byte for ASCII characters and 2–4 bytes for everything else. Emoji are outside the Basic Multilingual Plane, so they always take 4 bytes.

What is the difference between ASCII and UTF-8?

ASCII defines 128 characters (English letters, digits, punctuation). UTF-8 encodes every Unicode character, and for those first 128 it produces exactly the same bytes as ASCII.