Tools/Blog

How to Sort a List and Remove Duplicate Lines

A list of names, emails or items is easier to use when it is sorted and has no repeats. List tools works on one item per line, in your browser.

Open List tools

Steps

  1. Open List tools and paste your list, one item per line.
  2. Choose an order, such as A to Z or by number.
  3. Tick "Remove duplicate lines" and choose whether capitals count.
  4. Copy the result or download it.

Natural order

Natural sorting puts item 2 before item 10. Plain A to Z puts 10 before 2.

Keep first or last

When duplicates are removed you choose which copy stays. This matters when the order carries meaning.

Numbers inside text

"By number" uses the first number found on each line. Lines without a number go to the end.

Questions

How big can the list be?

Up to 5 million characters.

Is the shuffle random?

Yes. It uses your browser's secure random numbers.

Open List tools

More guides