All tools · Text

Remove duplicate lines & sort lines

Clean up a list with one item per line: names, keywords, email addresses.

How to use

  1. Paste your list, one item per line.
  2. Choose what to remove and how to sort; the result updates below.
  3. Copy the result.

Questions

In what order are the steps applied?

Trim → remove empty → remove duplicates → sort → reverse. Of duplicates, the first occurrence is kept.

How do "item 2" and "item 10" sort?

Numbers are compared as numbers, so item 2 comes before item 10.

Which alphabet order is used?

Your browser's collation for the page language (Intl.Collator), which handles accents and other scripts.

Are " apple" and "apple" duplicates?

Only with "Trim spaces" on.

Is my list saved?

No. It is processed in your browser only.

Related tools

All tools