Text to Binary
Convert text into binary code, or paste binary and decode it back to readable text.
How to use Text to Binary
- Enter text to convert it to binary, or paste binary to decode it back to text.
- Each character becomes an 8-bit binary byte, space-separated.
- Copy the result.
Reference: the ASCII character encoding standard
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.
Community
Loading...