Menu

Remove Duplicate Lines

Dedupe and sort lists.

Result

Your data never leaves your device — everything runs in your browser.

How to use it

  1. Paste your list, one item per line.
  2. Duplicates are removed at once; choose Case-insensitive to treat “Apple” and “apple” as the same.
  3. Pick a sort order if you want the list sorted.
  4. Copy the result.

Frequently asked questions

Which copy of a duplicate is kept?

The first one, in its original position. Lines are compared after trimming spaces at their ends.

How do I sort lines alphabetically?

Choose A–Z or Z–A. Sorting is natural and locale-aware: item2 comes before item10, and accented letters sort next to their base letter (c, ç, d).

Can I keep empty lines?

Yes. Turn off “Remove empty lines”.