How to remove blank lines
- Paste your text.
- Choose to remove every blank line or only the extra ones.
- Copy the result and check how many lines were removed.
About this tool
Empty lines pile up when you copy from emails, documents and web pages. Paste your text to delete every blank line, or choose to keep a single blank line between blocks so paragraphs stay apart. Lines made of only spaces or tabs are treated as blank unless you turn that off.
Common questions
How can I keep paragraphs apart?
Choose the option that removes extra blank lines. Several empty lines in a row become one, so paragraphs stay separated.
Is a line with only spaces blank?
By default, yes. If you want to keep those lines, untick the spaces option and only completely empty lines are removed.
Are Windows line endings kept?
Yes. If your text uses Windows line breaks, the result uses them too.
Is it free to use?
Yes. There's no sign-up, and you can use it as often as you like.
Is my text uploaded anywhere?
No. This tool runs inside your browser, so what you enter stays on your device.
Do I need to install anything?
No. It works in your browser on a computer or a phone.