IT

Remove duplicate lines and sort.

Paste a list. Remove repeated lines, keep the first, and sort A–Z, naturally, by length or at random.

Runs in your browser · nothing is uploaded

Loading…

Next step: Compare text →

How it works

Three steps.

  1. Paste your list, one item per line.

  2. Choose whether to ignore case and spaces, and how to sort.

  3. Copy the result. The note tells you how many lines were removed.

Related tools

How duplicates are found

Two lines are duplicates when they are the same text. With Ignore upper/lower case, “Apple” and “apple” match. With Trim spaces, extra spaces at the ends and repeated spaces inside do not count. The first occurrence is kept, in its original position, and later copies are removed. Empty lines are kept unless you choose to remove them.

Sorting options

  • A → Z / Z → A: alphabetical, ignoring case and accents, so “èlite” sorts with “elite”.
  • Natural: numbers inside lines are read as numbers, so “item 2” comes before “item 10”.
  • By length: shortest line first.
  • Shuffle: random order, for draws and quiz questions. Press “Shuffle again” for a new order.

Useful for email lists, keywords, tags, product codes and log lines. Nothing leaves your browser.

FAQ

Questions.

Which copy is kept?

The first one, in its original position. Later copies are removed.

Can I remove duplicates without changing the order?

Yes. Leave Sort on “Keep original order”.

Is there a limit on lines?

No fixed limit. Lists of tens of thousands of lines work in a modern browser.