DevKits

Binary to Text Converter — Decode UTF-8 Bit Strings Online

Convert a binary (base-2) string back to text. Every 8 bits become one UTF-8 byte; invalid sequences show as U+FFFD (�). Accepts space, comma, hyphen, or no separator. 100% local.

Last updated:

Any separator OK — spaces, commas, hyphens, or none
161 chars · 1 lines
18 bytes

Need to go the other way? Text to Binary →

Paste binary (base-2) with any separator — space, comma, hyphen, or none — to decode back to UTF-8 text. Invalid UTF-8 sequences show as '�' (U+FFFD). Strict mode requires exact multiple of 8 bits; loose mode auto-pads.

What is Binary to Text?

Binary-to-text decoding is the inverse of text-to-binary: parse bits in groups of 8, treat each group as a byte, then decode the byte sequence as UTF-8. The tricky parts are input tolerance and error handling. Real-world binary strings come with different separators and sometimes without any — this tool strips all non-0/1 characters before parsing, so 'space-separated', 'comma-separated', 'run-together', and 'copy-pasted-with-line-breaks' all work the same way. For error handling, invalid UTF-8 byte sequences (which happen when the input is truncated or was encoded with a different scheme) become U+FFFD replacement characters, with a warning shown so you know decoding wasn't clean.

How to convert binary to text online

  1. 1Paste binary — any format with 0s and 1s. Separators (spaces, commas, hyphens, newlines) are all fine.
  2. 2The tool strips non-0/1 characters, groups the remaining bits into bytes, and decodes as UTF-8.
  3. 3Read the output. If you see '�', the input had invalid UTF-8 — likely truncated or malformed.
  4. 4Toggle Strict mode if you want the tool to error out on non-multiple-of-8 length instead of auto-padding.

Use Cases

Decode a homework problem

Paste a binary string from a textbook question and get the plain text answer instantly.

Reverse-engineer a puzzle

Decode binary embedded in a CTF, ARG, or escape room clue. This tool is more forgiving than command-line xxd about separator variations.

Sanity-check text-to-binary output

Round-trip a string through both tools to verify a downstream system's encoding assumption is right.

Tips & Best Practices

  • If your input contains '2', '3', or other non-binary digits, they'll be silently ignored — check the input for typos if the output looks wrong.
  • Strict mode is useful when validating that a source produces exactly N bytes; use loose mode when copy-pasting from a document.
  • For 7-bit ASCII pure inputs (no bytes ≥ 128), the output is identical whether you interpret as ASCII or UTF-8.

Frequently Asked Questions

How does the tool parse input with different separators?

All non-0/1 characters are stripped first, so you can paste '01000001 01000010', '01000001,01000010', or '0100000101000010' — the result is the same. The cleaned bit stream is then decoded in 8-bit chunks as UTF-8.

What if the bit count isn't a multiple of 8?

In default (non-strict) mode, the input is left-padded with zeros to the nearest multiple of 8, then decoded. In strict mode, a non-multiple-of-8 length is treated as an error. Toggle strict mode to catch malformed inputs.

Why do I see '�' in the output?

That's the Unicode replacement character (U+FFFD), inserted when a byte sequence isn't valid UTF-8. Common causes: bit-stream truncation, wrong encoding assumption, or copy-paste errors. The tool tells you when replacements were made.

Does the tool support very long binary strings?

Yes. Decoding is O(n) — millions of bits parse in milliseconds. Runs fully in your browser.

Related Tools