Remove Blank Lines

Remove Blank Lines: Remove empty or whitespace-only lines from pasted text.

Remove Blank Lines

Remove Blank Lines: Paste text with empty lines, then select Remove blank lines. Nonempty lines stay in their original order.

Loading the tool...

✓ Your inputs stay in this browser

How to use Remove Blank Lines

Paste text with empty lines, then select Remove blank lines. Nonempty lines stay in their original order.

Example

A list with an empty line between items becomes consecutive lines.

What to know

Whitespace-only lines are removed; spacing inside retained lines is not changed.