Text Cleaner

Paste text, toggle whichever operations you want, and the result updates as you go.

Operations

How it works

Each operation is independent and optional. When more than one is checked they run in a fixed order — trim, then collapse blank lines, then remove empty lines, then remove duplicates, then sort — so trimming happens before deduping (a line and its trailing-whitespace twin are recognised as the same line) and sorting happens last, after the list is already cleaned.