Remove Blank Lines

Paste text — every empty or whitespace-only line is removed, with optional per-line trimming.

Two modes

Remove blanks deletes every empty line entirely. Squeeze collapses runs of blank lines into a single separator — useful before reflowing prose.

Frequently asked questions

Whitespace-only lines?

They count as blank and are removed.

Trim first?

With trim on, kept lines are also stripped of edge whitespace.

Runs of blanks?

Squeeze mode compresses them to exactly one blank line.