Free Text ⇄ Binary Converter
The Text to Binary converter turns text into its binary (8-bit) representation and converts binary back into text. It handles UTF-8 characters and runs entirely in your browser.
Binary is the rawest view of a string; the ASCII to Hex converter shows the same bytes in hex, and the Number Base Converter handles other bases. If you need a transport-safe encoding instead, use Base64.
How to use the Text ↔ Binary
- 1 Paste the text you want to convert, or the binary you want to decode.
- 2 Choose whether to separate each byte with a space.
- 3 Read the result, which uses eight bits per character for plain ASCII.
- 4 Copy it in either direction.
How to Use
Type text and click Encode to get space-separated binary bytes, or paste binary and click Decode to get the text back.
- UTF-8 safe conversion
- Space-separated 8-bit bytes
- Copy with one click
Frequently asked questions
Why is each character eight bits?
Because ASCII and the first 128 Unicode code points fit in one byte, so eight bits per character is the natural mapping for English text. Non-ASCII characters — accents, Cyrillic, emoji — need multiple bytes in UTF-8, and will show as several groups rather than one.
Does the tool use ASCII or UTF-8?
It encodes the UTF-8 bytes of your text, which matches ASCII exactly for ordinary letters and digits. That means accented characters and emoji round-trip correctly instead of being mangled, which a strict 7-bit ASCII encoder would do.
Do the spaces between bytes matter?
No — they are only for readability. Decoding accepts input with or without spaces, so you can paste binary straight from a textbook, a log line or a hardware manual and it will still parse.
Related Security & Cryptography Tools
You might also need
Tools from other categories that people pair with the Text ↔ Binary: