UtilHero

Search

Search tools, categories, and pages

Text to Binary

Translate text to binary and binary back to text.

Binary output

About Text to Binary

A text to binary converter turns each character into its 8-bit binary code, and back again. Type text to get space-separated binary bytes, or paste binary to decode it to text. It uses UTF-8, so letters, punctuation, accents, and emoji all round-trip correctly. Everything runs in your browser.

Frequently asked questions

How is text turned into binary?
Each character is encoded as UTF-8 bytes, and each byte is written as 8 bits. So 'Hi' becomes 01001000 01101001. Characters outside basic ASCII (like é or emoji) use two to four bytes.
Can I decode binary back to text?
Yes. Switch to Binary → Text and paste the bits. Spaces are optional — one long run of 0s and 1s works too, as long as the total is a whole number of 8-bit bytes.
Why do I get an error decoding?
The input must be only 0s and 1s and a multiple of 8 bits. A stray character or a group that isn't 8 bits long (for example 7 bits) will be rejected.