Hongmu Notes

🅾️ Text to binary

Convert the entire text into 0 and 1 character by character, each character is a group, and the groups are separated by spaces.

Text to binary

Instructions for use

Paste the text into the upper input box and click "Convert": each character will output a group of 0 and 1 according to its code point, with a space separating the groups, and the result will appear in the lower result box. The number of digits is not fixed - 7 to 8 digits for English and punctuation, more than 15 digits for commonly used Chinese characters, and maybe 17 digits for emoticons; spaces will be converted into 100000, and line breaks into 1010, so the blanks and line breaks in the original text can be seen from the results. The output does not perform zero padding and does not split surrogate pairs. It is consistent with the "binary to text" caliber and can be restored and verified by each other. All conversions are completed locally in the browser and are not uploaded or retained.

✅ How to check the results

  • The number of groups should equal the number of characters (spaces and newlines also count as characters)
  • When the first character is H, the first group should be 1001000
  • Pasting the result into "Binary to Text" should restore the original text

🔒 Data and privacy

The conversion is completed locally in the browser, and the input and results are not uploaded or retained, and will be cleared when the page is refreshed. The binary result is not equal to encryption. Anyone can restore it in the same way. Please do not use it as a means of confidentiality.

Convert text to binary in batches

When processing a lot of text at once, converting in sections is often more reliable than converting all at once.

📌 Why segmentation is recommended

The first is the readability of the results: the binary code converted out of several thousand words will be very long and cannot be read in one screen. It is easy to miss a certain paragraph during verification. The second is the cost of error correction: if there are character errors in the middle (for example, typos are introduced during copying), it will be troublesome to locate the problem in the very long results. However, after segmented processing, each segment can be quickly confirmed. The third is copy stability: some editors will freeze or even truncate when copying and pasting very long text. Paragraphing can avoid this problem.

  • Convert in batches by paragraph or every few hundred words
  • Check the beginning and end of each paragraph immediately after conversion
  • Use round-trip verification to confirm that each paragraph is correct

🧭 How to ensure no leakage during segmented conversion

Divide the original text into natural paragraphs, copy and convert each paragraph, and mark the paragraph number before each paragraph (for example, write "Paragraph 1" in the editor's comments); after all is completed, splice them together in order of paragraph numbers. This way, even if you are interrupted midway, you will still know exactly which section to complete.

All keywords and tutorials 12

❓ FAQ

How many words can be transferred at one time
A few thousand words is no problem; if it is tens of thousands of words, the result will be very long. It is recommended to convert it in sections and check it section by section.
Will paragraphs be missing words?
As long as the segmentation point is aligned to the paragraph boundary and recorded according to the paragraph number, there will be no leakage; it can be confirmed by round-trip verification after splicing.
How many words can be transferred at one time
A few thousand words is no problem; if it is tens of thousands of words, the result will be very long. It is recommended to convert it in sections and check it section by section.