How it works
Paste a list or document to remove empty rows. By default, lines containing only whitespace are removed too; Options lets you retain those rows if they carry meaning.
The remaining lines keep their original spaces and punctuation. Windows and old Mac line endings become ordinary line breaks in the copied or downloaded text.
Worked example
“First line”, a blank line and “Second line” become two adjacent lines. Spaces inside either nonempty line are preserved.
Before you rely on the result
This removes whole blank lines, not extra spaces inside text. The final output has no empty trailing row unless you choose to retain a whitespace-only row.
Cite this page
ToolOctopus. “Remove empty lines.” Updated . https://tooloctopus.com/remove-empty-lines.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.