Convert text to binary and binary back to text.
Translate text into binary and binary back into text. Each byte of the UTF-8 encoding is shown as eight bits separated by spaces, so ASCII letters take 8 bits and other characters take more. It is useful for learning how text is stored, for puzzles and for checking encoded data.
Computers store text as numbers, and numbers as bits. In UTF-8, the dominant text encoding, each character is turned into one to four bytes. ASCII characters such as letters and digits use one byte, so the letter H (code 72) is 01001000. Characters outside ASCII, like accented letters, use two or more bytes. A binary translator writes each byte as eight binary digits. Converting back groups the digits into bytes and decodes them as UTF-8, so the number of bits must be a multiple of eight.
Characters beyond ASCII need two to four bytes in UTF-8, and each byte is shown as an 8-bit group.
Yes. Spaces and commas are removed before decoding, so a continuous string of bits works if the length is a multiple of eight.
For ASCII characters the bytes match their ASCII codes. For other characters it shows UTF-8 bytes, not code points.
No. Every group must be a full 8-bit byte, so pad 7-bit values with a leading zero.
A space is 00100000, ASCII code 32.