ToolGenie

Text to Binary

Convert text to binary and back.

Loading tool…

How to use Text to Binary

  1. Type or paste your text, or paste binary to convert it back.

  2. Choose how bytes are separated: spaces, no separator or one byte per line.

  3. Copy the binary, hex or decimal output.

Frequently Asked Questions

Which encoding is used?

UTF-8. Plain English characters take one byte each, exactly like ASCII, while accented letters and emoji use the two to four bytes UTF-8 assigns them.

Why does my emoji become four bytes?

Emoji sit outside the basic character range, so UTF-8 encodes them across four bytes. Decoding those bytes together gives the original emoji back.

Can I convert binary that has no spaces?

Yes. Any separator is ignored on decode; the only requirement is that the number of bits is a multiple of eight.

Related tools

Looking for something else? Browse all developer tools.