Remove Empty Lines

Deletes every blank line, including lines that only contain spaces or tabs.

Result

The converted text appears here as you type.

For example
apples

bananas
apples
bananas
cherries

How to use

  1. Paste or type your text in the box.
  2. Check the result. Every change is highlighted, so you can see exactly what will be different.
  3. Press Copy Result, or Open in Editor to keep working with more tools, undo and saved drafts.

Example

Before
apples

bananas
   

cherries
After
apples
bananas
cherries

What it's for

  • Compacting a list pasted from an email or document
  • Preparing lines for import where blank rows cause errors

Questions

I want to keep paragraphs apart. What should I use?

Use Single Blank Lines instead. It keeps exactly one empty line between paragraphs.

Related tools