Text Cleaner

Dedupe, sort, trim, join and reverse — every quick text cleanup, one click each.

About this tool

Copied lists arrive with duplicate rows, stray spaces and empty lines. This cleaner bundles the everyday fixes behind separate buttons: remove duplicate lines (order preserved), sort naturally in either direction, delete empty lines, trim each line, join everything into a single line, or reverse the text entirely.

How to use it

  1. Paste your lines, or click Sample to see a messy list get cleaned.
  2. Click any action — the result lands in the output box.
  3. Chain operations with ⇅ Output → Input, e.g. trim first, then dedupe, then sort.

Good to know

  • Duplicate detection ignores leading/trailing spaces but keeps the first occurrence’s wording.
  • Sorting uses natural, case-insensitive comparison, so item2 comes before item10.
  • Everything runs locally — pasting confidential lists is fine.