Remove Empty Lines
Strip blank lines out of lists, code or copied tables. Lines containing only spaces or tabs count as blank unless you say otherwise.
Runs entirely in your browser. Your text is not uploaded.
0words
0characters
0lines
1 empty line removed
0words
0characters
0lines
How to use the remove empty lines
- Paste your text.
- Choose whether whitespace-only lines count as empty.
- Copy the result.
Questions
What counts as an empty line?
By default, any line with nothing but spaces, tabs or other whitespace. Untick the option to remove only lines that are completely empty.
Can I collapse double blank lines into one instead?
Use Remove Line Breaks with "keep paragraphs": it keeps a single blank line between paragraphs and removes the rest.