AXS TXT

Text to Binary

Convert text into binary code (and back). Runs in your browser, nothing uploaded.

Every character a computer stores is really a number, and that number can be written in binary — a string of 0s and 1s. Text to Binary converts your text into its binary representation (and back), a fun and educational way to see how text is encoded.

How to use text to binary

  1. 1. Paste your text.
  2. 2. It's converted to binary, one byte per character.
  3. 3. Copy the binary output.

When to use Text to Binary

Learn how text is stored

See the binary behind each character to understand character encoding.

Puzzles and codes

Create a binary-coded message for a game or challenge.

Teaching

Demonstrate the link between characters and their binary values.

Why some letters give two groups

Text is converted with UTF-8, the encoding used by almost every web page. "A" is a single byte, 01000001. "ă" needs two: 11000100 10000011. The emoji 😀 needs four. So a Romanian word with diacritics produces more 8-bit groups than it has letters — that's correct, not an error, and it's exactly how the text is stored on disk. Every group is padded to eight digits with leading zeros.

Frequently asked questions

Can I convert binary back to text?

Yes — use Binary to Text, or this tool's decode direction, to turn 0s and 1s back into characters.

How is each character encoded?

As UTF-8 bytes, eight bits each. English letters, digits and punctuation take one byte; letters such as ă or é take two; most emoji take four.

Is my text uploaded?

No — conversion runs in your browser.

Your text is processed entirely in your browser and never uploaded — read more on the security page. Looking for more? Browse our full set of text tools or read guides on the blog.