sangsen

Binary Encoder/Decoder

Encode text to space-separated 8-bit binary, or decode binary back to text.

Output

Result appears here.

How it works

Text is converted to UTF-8 bytes and each byte is written as 8 binary digits separated by spaces, or space-separated binary is decoded back to UTF-8 text — all in your browser.

Example

Encode
Hi01001000 01101001

FAQ

Is my text uploaded anywhere?
No. Encoding and decoding happen entirely in your browser — nothing you paste ever leaves your machine.
Does this work with non-English text and emoji?
Yes — text is encoded as UTF-8 bytes first, so accented characters and emoji round-trip correctly.
What happens with invalid binary input on decode?
You get a clear error instead of silently garbled output — every byte must be exactly 8 digits of 0s and 1s.