What counts as an empty line?
An empty line has no characters at all, like the gap between two paragraphs. A blank-looking line may also contain spaces or tabs that you cannot see. Text copied from emails, PDFs and web pages often has both kinds scattered through it.
This tool removes the truly empty lines, and by default also the lines that contain only spaces or tabs. You can choose to keep space-only lines instead. The text on the remaining lines is untouched, and the note tells you how many empty lines were removed.
How to use the Remove Empty Lines
- Paste your text.
- Choose whether lines with only spaces should be removed too.
- Copy the cleaned text and check the count of lines removed.