Fixing text that comes out of a PDF with a blank line after every line
Copy a few paragraphs out of a PDF, paste them into an email, and you often get a mess: every line of the original page is now its own line, and many have an empty line after them. A ten-line paragraph turns into twenty lines with gaps. The words are all there. The structure around them is broken.
Paste that text here and choose Keep one between paragraphs. Every run of empty lines becomes exactly one, and empty lines at the very start or end go. If the PDF had one gap between lines and two or more between paragraphs, you now have one gap everywhere, which is easier to fix by eye. If it had gaps only between paragraphs, the result is already clean.
For a list the right choice is Remove them all. Say you copied 60 product codes from a web page and got them with an empty line between each one, 119 lines in total. Remove them all gives you 60 lines with nothing in between, ready to paste into a spreadsheet column, and the note under the result says "Removed 59 empty lines: 119 lines down to 60". That count is a quick check that nothing else was touched.
Lines that hold only spaces deserve a word. They look empty, and a spreadsheet or a script often treats them as data, which causes odd errors later: a cell that looks blank but is not, or a loop that runs one time too many. This tool counts a line with only spaces, tabs or no-break spaces as empty, so those go as well. In Keep one mode the blank line that stays has nothing on it at all.
The tool has limits worth knowing. It does not join the broken lines inside a paragraph back together; it only handles the empty ones. It also does not know that one empty line in a poem or in code can be deliberate, so check the result before you use it there. It changes nothing else on the lines that have text. It takes up to 1 MB of text at a time.