Remove empty lines from text

Add to my tools

Remove all blank lines from your text in one click. Perfect after copy-pasting from Word, a PDF or a web page that adds unwanted line breaks.

Paste your text, then click "Remove". All empty lines will be removed automatically.

I need a demo !

Remove empty lines

What is empty line removal used for?

When copying text from Word, a PDF, an email or a web page, the result often contains unwanted blank lines. This tool automatically removes all empty lines to produce clean, compact text.

Example

Original text:

Hello

World


How are you?

Fine thanks!

Result:

Hello
World
How are you?
Fine thanks!

Common use cases

Tip: Lines containing only spaces or tabs are also removed.
Similar tools