← All tools
Text tool

Remove Empty Lines

Remove all blank and empty lines from text instantly.

Input
Output
Copied!

Clean extra blank lines

Prepare pasted text or tabular-looking lists by removing unwanted empty rows.

  1. Paste the text into the input box.
  2. Choose to remove all blank lines, trim whitespace-only lines or collapse a run of blank lines to one.
  3. Review the result and copy it when the spacing looks correct.

Example

A pasted list with several empty rows between two names can be condensed to one uninterrupted list.

What to check

Blank lines can be meaningful in code and Markdown. Keep an original copy if line spacing affects readability or syntax.

Share your feedback

Found a bug? Have a suggestion? We read every message.

✓ Thank you!

We appreciate your feedback and will look into it.