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.

Fetch odd numbered rows in batches

When thousands of lines of text need to be separated into alternate lines, manual selection is unrealistic; a complete set of odd lines can be obtained by batch processing once.

📌 Performance of large text processing

The judgment only relies on line numbers, and the processing is very fast; the number of output lines is about half of the original text, and copying and subsequent importing are lighter. If the text is particularly long, it can also be divided into a fixed number of lines and then processed separately.

🔒 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.

📌 How is the line number calculated?

Count in natural order starting with the first row: row 1 is an odd row, row 2 is an even row, and so on. A blank line also occupies a line number, so the position of the blank line will directly affect the parity of subsequent lines. It is recommended to confirm the blank line status of the original text before processing; if the original text has a newline character at the end, an extra line will not be calculated.

All keywords and tutorials 12

❓ FAQ

Will the guild card be worth tens of thousands?
Generally not. The time taken increases linearly with the number of lines, and modern browsers can easily handle tens of thousands of lines.
Will the odd and even numbers be messed up after batch processing?
Yes. Changing the splitting position will change the odd and even line numbers of subsequent lines. It is recommended to process the entire section or split it according to an even number of lines.
How to check after fetching odd-numbered rows in batches
The number of lines in the result should be approximately half the number of lines in the original text (one more line if the original text has an odd number of lines). A difference of 1 is normal.