About the Remove Empty Lines
Copy a few pages out of a PDF, paste them into an editor, and you usually get a blank line after every visual line, sometimes two. This tool keeps the lines that contain something and drops the rest, in their original order, so the text becomes readable again without any manual deleting.
A line counts as empty when it holds nothing but whitespace, which is why this beats a search-and-replace on double newlines. Spaces, tabs, non-breaking spaces and the ideographic space used in CJK input all qualify, so lines made only of those disappear along with the truly empty ones. The exception is the zero-width space at U+200B: it is invisible but it is not whitespace, so a line containing one survives and looks like a bug. When blank-looking lines refuse to go, that is nearly always the reason.
Every blank line goes, including the single ones between paragraphs, so this suits data and lists rather than prose whose formatting you want to keep. Afterwards, Trim Lines clears the leading indentation that PDF text tends to carry, and Remove Extra Spaces squeezes the padded spacing inside the surviving lines.
How to use
- Paste the text.
- Copy the result with blank lines removed.
- Follow with Trim Text if lines have stray spaces.
Common questions
- Are whitespace-only lines removed?
- Yes. A line containing only spaces or tabs is treated as empty and removed.
- Does it collapse multiple blank lines into one?
- It removes all blank lines. To keep single blank lines between paragraphs, use a text editor with a "reduce blank lines" option instead.
- Is the order preserved?
- Yes. Only blank lines are removed; content lines stay in place.