Remove Empty Lines

About Remove Empty Lines

Paste text with gaps and this tool deletes the blank lines. You can also trim leading and trailing spaces from every line. It runs on your device.

How to use Remove Empty Lines

  1. Paste your text.
  2. Leave trimming on to strip spaces around each line.
  3. Read the cleaned text.
  4. Copy it.

Questions and answers

Does a line with only spaces count as empty?

With trimming on, yes, because the spaces are stripped first.

Will it join paragraphs together?

Blank lines between paragraphs are removed, so paragraphs sit on consecutive lines.

Is my text uploaded?

No.

Related tools