Sort Lines & Remove Duplicates

Paste a list, choose what to do with it, and copy the cleaned result. Remove duplicate or empty lines, trim spaces, sort, reverse or shuffle.

How to use it

  1. Paste your list into Your lines, one item per line. The counter shows how many lines you have.
  2. Tick the clean-up options you want: remove duplicates, remove empty lines, trim spaces.
  3. Choose an Order: keep the original, sort A to Z or Z to A, sort numbers, sort by length, reverse or shuffle.
  4. Copy the Result, or press Use result as input to apply another step to the cleaned list.

What each option does

Common uses

FAQ

How many lines can it handle?

Hundreds of thousands of lines work fine; it all runs in your browser.

Does sorting follow my language's alphabet?

Yes. Sorting uses your browser's language rules, so accented letters sort next to their base letter (é next to e) and capital letters sit with lowercase ones instead of all coming first.

Is my list uploaded?

No. Everything happens in your browser, and the list is gone when you close the page.