Remove Empty Lines
Delete blank or whitespace-only lines from text.
Results are provided for general informational use. Verify important financial, health or legal figures before relying on them.
Delete blank or whitespace-only lines from text.
The Remove Empty Lines tool deletes blank and whitespace-only lines while preserving the order and content of non-empty lines. It is useful for cleaning lists, copied data and text before importing it elsewhere.
For related tasks, try Remove Duplicate Lines, Whitespace Remover or Line Counter.
Each line is tested after trimming whitespace. Lines with no remaining characters are removed; non-empty lines are kept in their original order.
A list containing ten entries separated by five blank lines is reduced to the same ten entries with those empty lines removed.
No. It only removes lines that are empty after trimming.
No.
Yes. Dekuz also provides a Remove Duplicate Lines tool.