mtools.lol

Duplicate Line Remover

Remove duplicate lines and sort lists A to Z, Z to A, by length, reversed or shuffled.

How it works

  1. 1Paste your list.
  2. 2Choose how to handle duplicates, sorting and empty lines.
  3. 3Copy or download the result.

Features

  • Keeps the first copy of each line.
  • Case-sensitive or case-insensitive.
  • Natural sort: 'item 9' comes before 'item 10'.
  • Sort by length, reverse or shuffle.
  • Private: runs in your browser.

Frequently asked questions

Which copy of a duplicate is kept?

The first one, so the original order is preserved when you don't sort.

What is natural sort?

Numbers inside text are sorted by value, so 2 comes before 10.

Is there a size limit?

No. Lists of hundreds of thousands of lines work, limited only by your device.