Hongmu Notes

🗄️ Convert string to binary

Enter a piece of text and get a binary string of 8 bits each.

Convert string to binary

Instructions for use

  • Encoded according to UTF-8: 1 byte for English numbers, 3 bytes for Chinese characters, 4 bytes for emoticons
  • Output a continuous 8-digit fixed-length string, which can be restored by pasting it back into "Binary to String"
  • All is done locally in the browser, and the input content will not be uploaded.

binary segmentation conversion

The binary result often contains hundreds or thousands of digits, so copying it by hand is obviously unrealistic. The copy button writes the result to the clipboard as it is, without extra spaces or line breaks when pasting.

📌 How to use

  • Click "Copy Results" to write to the clipboard
  • The result box is read-only. Press and hold or drag to select to copy.
  • If the copy fails, you will be prompted to use long press to select all instead of silent failure.

⚙️ Confirm two things before pasting

One is whether the number of digits is a multiple of 8 (will be given in the status line); the other is whether the paste target has a length limit. Overlong strings may be truncated, causing the restore to fail.

🧭 Self-test after sticking back

Copy the pasted content back to the "Binary to String" tool. If the original text can be restored, it means it has not been truncated or rewritten. This step only takes a few seconds.

📌 When the paste target has a length limit

The binary length is 8 times the number of text bytes, which can easily exceed the input box limit. When truncation occurs, the text is divided into several paragraphs and converted separately. The spliced ​​result is completely consistent with the conversion of the entire paragraph.

All keywords and tutorials 12

❓ FAQ

Does the copied content contain spaces?
No. The output is continuous 0 and 1 without any separators; when group display is required, sentences can be segmented by 8 bits.
Why can't the result box be edited?
Setting it to read-only prevents long strings from being accidentally modified. When processing is needed, copy it to the editor for processing, and the verification will be clearer.