Text to Binary

Convert text to binary code and binary back to text.

Ad Slot
Ad Slot

Frequently asked questions

Does this produce standard 8-bit binary for every character?

Only for characters in the Latin-1 range (code points 0–255), which pad to exactly 8 bits. Characters with a higher code point still encode fine, they just produce longer binary groups rather than being cut off.

What happens if I try to encode an emoji?

It won't round-trip correctly — encoding reads each character's first UTF-16 code unit, and most emoji are stored as a pair of code units in JavaScript strings, so only half of the emoji gets encoded and the rest is lost.

Do the binary groups need to be exactly 8 digits when decoding?

No — decoding just splits the input on whitespace and parses each chunk as a binary number, so extra spaces are fine and groups don't have to be a fixed length.

We use cookies for analytics and to show ads that keep this site free. No personal data is sold.