This converter translates between human text and 8-bit binary. Encoding turns each UTF-8 byte of your text into a zero-padded group of eight bits; decoding reads such groups back into the original characters.
How it works
For encoding, the text is converted to UTF-8 bytes (via TextEncoder). Each
byte is a number from 0 to 255, written as eight binary digits:
byte 65 (A) -> 01000001
byte 32 ( ) -> 00100000
For decoding, all whitespace is removed and the remaining 0 and 1 characters
are split into groups of eight. Each group is parsed as a byte and the resulting
byte array is decoded as UTF-8 back into text.
Example and notes
The word Hi is bytes 72 and 105, giving 01001000 01101001. ASCII characters
always fit in one 8-bit group, but anything outside ASCII uses multiple UTF-8
bytes and therefore multiple groups. When decoding, the bit count must be an
exact multiple of eight; otherwise the tool flags the input as malformed rather
than dropping bits.