About the Text to Binary Converter
This tool turns the text you type or paste into binary byte strings. You can get bytes separated by spaces, a continuous bit stream, or a per-character code point view. It uses UTF-8 encoding, so ASCII characters produce one 8-bit byte and emoji or many non-Latin letters produce 2 to 4 bytes. The conversion runs entirely in your browser with no upload or server processing. You get a one-click copy button to paste results into other apps. The interface is for quick checks, debugging, classwork, or preparing byte-level data for other tools. If you need legacy encodings or file uploads, use a different tool that reports those options explicitly.
How to use it
- 1Type or paste your text into the input box.
- 2Choose an output mode: Binary (bytes separated), Binary (no spaces), or Binary per character (code point).
- 3Click Convert to display the binary output.
- 4Click Copy to copy the result to your clipboard.
Worked example
Input: Hi Output (Binary bytes separated): 01001000 01101001 Explanation: 'H' = 72 => 01001000. 'i' = 105 => 01101001.
How it works
Method: 1) Take the input string as Unicode2) Encode the string as UTF-8 bytes (see RFC 3629 and WHATWG Encoding)3) For each byte b (0 <= b <= 255) output pad_left(base2(b), 8, '0')Join bytes with the chosen separatorSource: RFC 3629, UTF-8 specificationWHATWG Encoding Standard (web platform)MDN Web Docs, TextEncoder. Last checked 7 November 2026.
What it is good for
- Runs in your browser; no input is uploaded.
- Choose spaced bytes, continuous bits, or per-character code points.
- One-click copy of the exact output for pasting.
- Output uses UTF-8 bytes only; legacy single-byte codepages are not available.
- Very large inputs may be limited by your browser memory and performance.
Questions people ask
Does this tool use ASCII or UTF-8?
The tool uses UTF-8. ASCII characters (0 to 127) map to the same single byte in UTF-8. Non-ASCII characters, like emoji, become 2 to 4 UTF-8 bytes.
Why does one character sometimes show more than 8 bits?
UTF-8 is variable-length. Common Latin letters use one byte. accented letters, CJK characters, and emoji may use 2 to 4 bytes, so you see multiple 8-bit groups.
Is my text uploaded to a server?
No. The conversion runs in your browser. Nothing you type is uploaded by the tool.
Can I paste binary with no spaces and decode it back?
Yes. The tool accepts continuous binary and will split into 8-bit bytes. If the total bit length is not divisible by 8, the tool will report or show an error.
How do I get the original text back from binary?
Split the binary into 8-bit bytes, convert each byte to decimal, then decode the byte sequence as UTF-8. The tool offers automatic decode for correctly formed byte sequences.
Are there regional differences for results?
Not for modern web text. UTF-8 works worldwide. Differences only arise if you need a legacy encoding like ISO-8859-1 or Windows-1252.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.