Pasted text from PDFs, web pages and word processors is usually littered with stray blank lines and rows that look empty but actually contain spaces or tabs. This tool removes both kinds independently so you can collapse a 1,200-line dump into something diff-able without losing intentional spacing.
Everything updates as you type and as you toggle options, so you can dial in the right combination of "trim", "drop empty", "drop whitespace-only" and "drop duplicates" while watching the line counter shrink. The output is plain text — no styling, no surprises.
Empty lines contain no characters at all. Whitespace-only lines look empty but contain spaces, tabs, or non-breaking spaces. The two checkboxes let you target them separately — useful when you want to keep visual indentation but drop fully blank rows.
No — it removes blank lines entirely. If you want to keep paragraph breaks but drop accidental triple-blank gaps, do two passes: first run with "Remove empty" off to normalise, then re-paste.
Yes. Lines are split on \n, and any trailing \r is treated as whitespace, so CRLF-terminated files clean up correctly without leaving stray carriage returns.
Yes — tick "Remove duplicate lines" and the deduper runs in the same pass after blank lines are stripped. The first occurrence of each line is kept and order is preserved.
Explore the full suite of Text tools and 290+ other free utilities at Chunky Munster.