Binary Text Converter

Converts between text and binary in both directions, eight bits per byte, using UTF-8. Paste text to see its bits, or paste bits to read them back as text.

Live demo · real result from this tool
Direction

Result

01001000 01101001 00100000 11110000 10011111 10010001 10001011

Processed on your device — nothing is uploaded.

How to use Binary Text Converter

  1. Paste text to convert it to binary, or binary to convert it back.
  2. Separators can be spaces, commas or newlines — all are accepted when decoding.
  3. Copy the result.
  4. Encoding is UTF-8, so output matches what other correct tools produce.
  5. Decoding needs a whole number of eight-bit groups; a truncated stream cannot be read.
  6. Everything runs in your browser.

Reading binary by eye

Each group of eight is one byte, most significant bit first. 01001000 is 72, capital H. The ASCII ranges are worth recognising: uppercase letters run 01000001 to 01011010 (65–90), lowercase 01100001 to 01111010 (97–122), and digits 00110000 to 00111001 (48–57). Notice that uppercase and lowercase differ only in the third bit — 65 and 97 are 32 apart, which is a single bit — and that is why older code converted case with a bitwise operation rather than a lookup.

Bytes, not characters

Anything outside ASCII takes more than one byte in UTF-8: two for most accented European letters and Cyrillic, three for Devanagari and CJK, four for emoji. So the number of eight-bit groups is not the number of characters you typed, and a decoder has to reassemble multi-byte sequences rather than treating each group as one character. A converter that got that wrong would turn any non-English text into mojibake on the round trip.

Where this is actually used

Teaching, mostly — seeing text as bits makes character encoding concrete in a way no explanation does. Puzzle hunts and capture-the-flag challenges, where binary is a standard first layer. And occasionally real debugging: when two strings look identical but compare unequal, the binary shows you the byte-order mark, the non-breaking space, or the Windows line ending that you cannot see on screen.

Frequently asked questions

How does binary encoding work?
Each character is converted to its ASCII value, then that number is represented in binary (base-2). For example, 'A' is ASCII 65, which is 01000001 in binary.
What's the format of binary output?
Each character becomes an 8-bit binary number (byte). Numbers are separated by spaces for readability.
Can I decode binary back to text?
Yes, enter binary numbers (with or without spaces) and click decode to convert back to readable text.
How do I convert binary to text?
Paste the binary in — the tool reads eight-bit groups separated by spaces, commas or newlines, and reassembles multi-byte UTF-8 sequences so non-English text comes back intact.
Why does one character produce more than eight bits?
Because it takes more than one byte in UTF-8. Only ASCII is a single byte; accented letters are two, most Asian scripts three, and emoji four.
Is binary the same as ASCII?
For plain English text the bytes are identical, since UTF-8 matches ASCII for the first 128 characters. They diverge as soon as you use an accent, a curly quote or any non-Latin script — UTF-8 handles those and ASCII cannot represent them at all.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close