Text to Binary
Convert text to binary code and binary back to text.
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.
Related tools
Word Counter
Count words, characters, sentences, and paragraphs in real-time.
Character Counter
Count characters with and without spaces instantly.
Case Converter
Convert text to UPPER, lower, Title, camelCase, snake_case, or kebab-case.
Lorem Ipsum Generator
Generate placeholder text in any number of paragraphs or words.