Convert any text to binary (UTF-8, 8-bit groups) or decode binary back to text. Copy output instantly — runs entirely in your browser.
Conversion direction
Output will appear as you type
A 01000001 B 01000010 C 01000011 a 01100001 0 00110000
Binary represents each byte with eight digits: 0 or 1. This converter encodes text as UTF-8 bytes, formats each byte as an eight-bit group, and decodes valid binary bytes back into text.
ASCII characters such as A use one byte. Accented characters, symbols, and emoji use multiple UTF-8 bytes, so one visible character can produce several binary groups.
For text-to-binary conversion, the browser's UTF-8 encoder turns characters into bytes. Each byte is padded to eight binary digits:
| Character | UTF-8 byte | Binary |
|---|---|---|
A | 65 | 01000001 |
0 | 48 | 00110000 |
é | 195, 169 | 11000011 10101001 |
For binary-to-text conversion, whitespace is ignored and the remaining bits are grouped into complete bytes. Input containing non-binary characters, incomplete bytes, or invalid UTF-8 sequences is rejected.
const bytes = new TextEncoder().encode("Hello");
const binary = [...bytes].map((byte) => byte.toString(2).padStart(8, "0")).join(" ");
binary = " ".join(f"{byte:08b}" for byte in "Hello".encode("utf-8"))
text = bytes(int(group, 2) for group in binary.split()).decode("utf-8")
Use groups such as 01001000 01101001 or paste an unseparated bit sequence. Every eight bits must form one byte. Keep the original byte order; reversing groups changes the decoded text.
This tool is provided for general informational and utility purposes only. Results may be inaccurate, incomplete, outdated, or contain errors. Always verify results before relying on or using them.
Some tools may use AI, automated processing, third-party services, or server-side processing. Do not rely on these tools as a substitute for professional advice.
Use at your own risk. BestToolOnline makes no guarantees regarding the accuracy, reliability, completeness, availability, or suitability of results, to the maximum extent permitted by applicable law.
See our Terms of Service and Privacy Policy for complete details.