Blank Line Remover
Close every gap in a list, including the blank lines that are not really blank.
Free, no signup, no limits
SKU-4417 Desk lamp SKU-2093 Monitor arm SKU-8810 Cable tray SKU-3352 Footrest SKU-1174 Keyboard tray
How to remove blank lines from a list
Paste it on the left. The tightened version appears on the right as you type, with every empty line gone and nothing else touched.
Lines keep their own lines. Nothing is joined, sorted or reordered.
Why blank lines survive other tools
Because most of them are not blank.
A line holding a single space looks exactly like an empty one. So does a line with a tab, and so does one with a non-breaking space, which is what a copied table cell usually leaves behind. A filter that checks whether the line equals the empty string walks straight past all three, and you are left staring at a gap the tool swears it removed.
Anything with nothing but whitespace on it counts as blank here, which is the definition that matches what you can see.
Where the gaps come from
Copied tables. Every empty cell becomes an empty row, and a table with sparse columns turns into a list that is half air.
PDF exports. Page breaks, headers and footers all leave gaps behind, and the spacing is inconsistent because it follows the page rather than the content.
Merged lists. Paste three exports one after another and you get whatever trailing lines each one ended with.
When you want the other behaviour
If your text is prose rather than a list, removing every blank line takes the paragraph breaks with it. The result is not wrong exactly, but it reads as one undifferentiated block.
The whitespace cleaner is the tool for that case: it collapses runs of blank lines down to a single one, so a paragraph break survives and a stack of ten does not. It also trims trailing spaces and collapses double spaces in the same pass.
What usually comes next
A list with the gaps closed is often a list with duplicates in it, because the gaps were hiding how much overlap there was. The duplicate line remover strips those and tells you which entries repeated and how often.
Everything runs in your browser. Nothing is uploaded.
Frequently asked questions
More Text tools
Everything else in the Text toolbox.
Something missing here?
If this tool almost does what you need, say what is missing. That is usually how the next version gets built.