文本转二进制
将文本转换为 8 位二进制,并将以空格分隔的二进制字节还原为文本。
输入
结果
使用方法
Converting between text and binary
Encode writes each UTF-8 byte as eight bits separated by spaces. Decode reads groups of eight bits back into text.
- Paste text or binary bytes.
- Press Encode or Decode.
- Bytes must be eight bits long and separated by spaces.
常见问题
Why does one character produce more than eight bits?
Characters outside the ASCII range, such as accents or emoji, use several UTF-8 bytes and therefore several groups.
Can I paste binary without spaces?
No, bytes must be separated by spaces so each group of eight bits is unambiguous.