๐พ Binary โ Text Converter
01001000 01100101 01101100 01101100 01101111 00100001
Convert text into 8-bit binary, one character at a time, or convert a binary sequence back into its original text. Supports UTF-8 encoding, so multi-byte characters like Japanese are handled correctly. Useful for learning computing fundamentals or just playing around with text.
How to use
- Choose the "Text โ Binary" or "Binary โ Text" tab.
- Enter the text or binary sequence (space-separated 0s and 1s) you want to convert.
- The converted result appears automatically โ use "Copy" to copy it.
How the calculation works
This tool converts between text and binary (strings of 0s and 1s). Text to binary: the text is converted to UTF-8 bytes, and each byte is written as 8 binary digits, separated by spaces. Latin letters, digits and symbols take one byte each; Japanese kana and kanji take three bytes and emoji four. Binary to text: groups of 1โ8 zeros and ones separated by spaces are each read as one byte and decoded as UTF-8. Byte sequences that are not valid UTF-8 are reported as an error.
Worked example
Text: Hello! Binary: 01001000 01100101 01101100 01101100 01101111 00100001 H = 72 = 01001000 ! = 33 = 00100001 Text: ใ In UTF-8 it is the three bytes E3 81 82 Binary: 11100011 10000001 10000010
Things to be aware of
- A byte is 8 bits and can hold 256 values, 0โ255.
- When converting back, entering only some of the bytes of a multi-byte character is invalid UTF-8 and produces an error.
- This is not encryption; anyone can turn binary back into text.
FAQ
Does this handle non-English characters?
Yes, it uses UTF-8 encoding, so non-Latin characters like Japanese are represented across multiple bytes (multiple 8-digit binary groups).
How should the binary sequence be formatted?
Enter each 8-digit binary group (one byte) separated by spaces.
What happens if I enter invalid binary?
An error message appears if the input contains characters other than 0 and 1, or if the byte sequence can't be decoded as valid UTF-8.