Remove Empty Lines

Delete blank lines from lists, code and copied text

Result

Everything happens in your browser: your text is never sent anywhere.

How to remove empty lines

Step 1

Paste your text or list

Step 2

Remove all empty lines or keep one between paragraphs

Step 3

Copy the result or download it as a text file

How the empty line remover works

Text copied from websites, PDF files, emails and chats often comes with empty lines in random places: two or three between paragraphs, one after every line or a few at the end. Paste the text here, and all empty lines disappear at once, while the lines with text keep their order. A line with nothing but spaces or tabs looks empty, so it is removed too, unless you turn this option off.

If the empty lines separate paragraphs and you want to keep them apart, choose “Keep one between paragraphs”: every run of blank lines becomes a single one, and the empty lines at the start and at the end are removed. The counter shows how many lines there were, how many are left and how many were removed. To join all lines into one paragraph instead, use the line break remover.

Was AnyTextEditor useful to you?

Hello. We tried very hard to create a convenient website that we use ourselves. If you liked any of our tools and editors, add it to your bookmarks, because it will be useful to you more than once. And don't forget to share on social media. We will be better for you.