Skip to content
MyToolkit.pro

Video · 0:25 · Text & Lists

Remove empty lines — how to do it step by step

Copied from an email, gaps everywhere?

Drop every gap at once, even lines hiding spaces.

Remove empty lines

Do the same with your own file — free and without an account.

Open the tool

In this video

  1. 0:03 Close the gaps in one go
  2. 0:05 Paste the gappy text
  3. 0:07 Before: holes between lines
  4. 0:09 After: no empty lines
  5. 0:11 14 empty lines removed
  6. 0:12 Lines with only spaces…
  7. 0:14 …would stay without this
  8. 0:15 Keep it on: they go too
  9. 0:17 Prefer one gap each?
  10. 0:18 Runs of blanks become one
  11. 0:20 Copy the clean text
Video transcript

Copied from an email, gaps everywhere? Drop every gap at once, even lines hiding spaces. Close the gaps in one go Paste the gappy text Before: holes between lines After: no empty lines 14 empty lines removed Lines with only spaces… …would stay without this Keep it on: they go too Prefer one gap each? Runs of blanks become one Copy the clean text Remove empty lines Free · No sign-up · Runs in your browser

More videos in Text & Lists

Duplicate line remover

Remove duplicate lines from any list, with optional case-insensitive and whitespace-trimmed matching. Works entirely in your browser.

Text & Lists In your browser

Whitespace Normalizer

Collapse repeated spaces and tabs, trim lines, remove blank lines and tidy the whole document. Works entirely in your browser.

Text & Lists In your browser

Lines, words & characters counter

Count lines, words, Unicode characters, UTF-8 bytes, paragraphs and reading time locally in your browser.

Text & Lists In your browser

Random Picker

Pick one or more random items from a list, with or without replacement. Private, fair selection entirely in your browser.

Text & Lists In your browser

What do you need?

Swipe up for the next one