Hongmu Notes

1️⃣ Text filter odd lines

Paste the text and take out the odd lines by line number (lines 1, 3, 5…).

Text filter odd lines

Instructions for use

  • Paste multiple lines of text and click "Start Processing" to extract odd-numbered lines by line number.
  • If you want to get the other half, please use the "Text Filter Even Lines" tool
  • All is done locally in the browser, and the input content will not be uploaded.

Text split on odd lines

When you need to divide a text into two halves for separate processing (for example, two groups of people each manage half of the list), splitting by odd and even lines is the simplest half-and-half solution.

📌 How to complete splitting in one operation

This page takes odd-numbered lines, and the supporting "Text Filter Even Lines" takes even-numbered lines; first copy the odd-numbered lines and save them, then switch to the even-numbered lines tool to process the same original text once, and the two copies combined become the complete original text.

🧭 What scenarios are it commonly used in?

Splitting a text into two parts based on line numbers, sampling from a large text at fixed intervals, and checking whether the exported two columns of data are aligned row by row, all use interlaced sampling. Take odd-numbered rows on this page, and cooperate with "Get even-numbered rows" to complete the split. The sum of the two rows should equal the number of rows in the original text.

🔒 Dealing with location and privacy

The filtering is only done in the browser, and the text is not uploaded to the server or written to local storage; logs and lists are sensitive data, and this tool does not collect or retain them. It can also be used in offline environments. After processing, refresh the page and the content will be cleared.

All keywords and tutorials 12

❓ FAQ

Will the number of rows in the two copies be exactly equal?
When the number of lines in the original text is an even number, the two copies are equal; when the number of lines in the original text is an odd number, the odd-numbered lines will have one more line.
Will splitting change the row content?
No. The results on both sides are output as-is.
How to restore the original text after odd-even splitting
Just splice alternately in the order of "odd rows, even rows, odd rows, even rows...".