Binary Text Converter
100% private — runs on your device, never uploaded. Works offline once loaded.
Convert any text into space-separated 8-bit binary, or decode binary back into readable text. Handles full UTF-8, so emoji and accented characters convert correctly. Runs entirely in your browser.
How text becomes binary
Computers store every character as a number, and every number as a pattern of bits — the 1s and 0s that binary represents. To convert text to binary, the tool first turns your text into UTF-8 bytes (the dominant text encoding on the web), then writes each byte as 8 binary digits. The capital letter A, for example, is byte value 65, which in 8-bit binary is 01000001.
Simple English letters, digits and punctuation each fit in a single byte, matching the classic ASCII table. But UTF-8 is variable-width: characters outside that basic range — accented letters, non-Latin scripts, emoji — expand to two, three or four bytes. That's why an emoji produces several 8-bit groups rather than one, and it's exactly why this converter encodes via UTF-8 rather than assuming one byte per character.
Reading the output
Each group of eight digits is one byte, and bytes are separated by spaces so the result stays human-readable. Within a byte, each position represents a power of two, from 128 on the left down to 1 on the right; adding up the positions that hold a 1 gives you the byte's decimal value.
- 8 bits = 1 byte = one value from 0 to 255.
- Basic ASCII characters occupy a single byte each.
- Accented and non-Latin characters use 2–3 bytes under UTF-8.
- Most emoji use 4 bytes, so they appear as four 8-bit groups.
Decoding binary safely
Going the other way, the tool strips out anything that isn't a 1 or 0 — so stray spaces, tabs or newlines in pasted binary won't cause problems — then regroups the remaining bits into bytes and decodes them as UTF-8. The one hard rule is that the total number of bits must be a multiple of eight, since a byte is always exactly 8 bits. If it isn't, you'll see a clear message rather than a garbled result.
This makes it handy for classroom exercises, debugging data formats, puzzle and CTF challenges, or simply understanding what ‘everything is 1s and 0s’ actually means in practice.
Frequently asked questions
Why does one emoji turn into 32 bits?
Most emoji are encoded as four UTF-8 bytes, and each byte is 8 bits, so a single emoji becomes four 8-bit groups — 32 bits in total.
What does the ‘not a multiple of 8’ message mean?
When decoding, the tool counts your 1s and 0s. Since every character is stored in whole bytes of 8 bits, a bit count that doesn't divide evenly by 8 means some bits are missing or extra, so it can't form complete bytes.
Is this ASCII or UTF-8?
It's UTF-8, which is a superset of ASCII. Plain English text produces identical results to ASCII, but UTF-8 also correctly handles the millions of characters ASCII can't represent.
Can I paste binary copied from somewhere else?
Yes. Any spacing, line breaks or other separators are ignored during decoding — only the 1s and 0s are read, as long as they total a multiple of 8.
Does it support other bit widths like 7-bit ASCII?
Output is standard 8-bit bytes, which is how modern systems store text. Classic 7-bit ASCII is a historical encoding; padding each value to 8 bits (as done here) is the conventional representation.
Is my text uploaded anywhere?
No. All encoding and decoding happens in your browser using its built-in text encoder, so your input never leaves your device.
Advertisement