How to use: Remove empty lines
- Paste the text with blank lines.
- Choose whether whitespace-only lines count as empty and whether to keep one between blocks.
- Copy the compact text.
What it accepts and what you get
- Input
- Any text with line breaks.
- Output
- The text without blank lines and how many were removed.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- Lines with text are left unchanged.
Frequently asked questions
How do I delete the blank lines in a text?
Paste the text and copy the compact result; the number of empty lines removed is shown.
Does a line with only spaces count as empty?
You choose whether it does, and whether to leave one blank line between blocks. Lines with text are not changed.
Does it change the lines that have text?
No. Lines with text are left as they are; only blank lines are removed and you are told how many were deleted.
When to use it
- When pasted text has too many blank lines.
- To compact a list before using it.
Examples
- Compact text
- Paste the text and get one without blank lines, with the number of lines removed.
- One line between blocks
- Choose to keep one blank line between blocks if you want to preserve paragraphs.
Common mistakes
- Forgetting lines with only spaces: tick that they count as empty.
- Removing everything when you wanted to separate paragraphs.

