Remove Empty Lines

Remove all blank and empty lines from your text.

0 characters
0 characters

You pasted something. Now there are blank lines everywhere. Just get rid of them.

Examples

Clean Up

Input:

Line 1


Line 2

Line 3

Output:

Line 1
Line 2
Line 3

Common Sources of Blank Line Chaos

  • Copied from PDFs (notorious for adding random breaks)
  • Code with too-aggressive spacing
  • Emails pasted from Outlook
  • Spreadsheet exports
  • OCR output

What Counts as Empty

An "empty line" is usually just two newline characters in a row (or carriage return + newline on Windows). This tool collapses those sequences. Multiple blank lines become zero blank lines.