Remove Duplicate Lines & Sort

Remove duplicate lines, sort, reverse, shuffle or number a list.

About this tool

Clean up lists in seconds. Paste one item per line, then remove duplicates, sort alphabetically or numerically, order by length, reverse, shuffle, strip empty lines or number each row. Use the result as the new input to chain several steps together.

How to use it

  1. Paste your list, one item per line.
  2. Set the case and trimming options.
  3. Click an action, then copy the result.

Frequently asked questions

Does duplicate removal keep the first occurrence?

Yes. The first time a line appears is kept and later copies are dropped.

Is the comparison case sensitive?

Only if you tick 'Case sensitive'. By default 'Apple' and 'apple' count as the same line.

Can I run two actions in a row?

Yes. Click 'Use result as input', then choose the next action.