Tools
Runs locally

Remove Blank Lines

Drop lines that are only whitespace.

Ctrl+Enter runs. Ctrl+Shift+Backspace clears.

Export and import are available after you sign in. Sign in

Drop lines that are only whitespace. Runs in the browser. Nothing is uploaded.

About this tool

Compact a list copied from a document, clean up a CSV or tighten a code snippet. Every line that is empty or contains only spaces and tabs is removed.

How to use it

  1. 01

    Paste the text.

  2. 02

    Empty lines disappear instantly.

  3. 03

    Copy the compact text.

FAQ

Frequently asked questions

Are lines with only spaces removed?

Yes. Lines that contain only whitespace count as blank.

Is the rest of the text changed?

No. Lines with content stay exactly as they were, in the same order.