Drop repeated lines from a list: keep the first copy, keep the last, or discard every entry that shows up more than once.
Three strategies sound alike and return different lists. Keep First holds the earliest copy of each line, Keep Last holds the latest, and Remove All discards every line that appeared more than once, leaving only the entries that were already unique. The Duplicate Line Remover puts all three on tabs so you can watch the count move between them.
The built-in sample makes that concrete: 8 fruit names in which apple, banana and cherry each appear twice. Keep First returns 5 lines opening on apple. Keep Last also returns 5, in the different order apple banana date cherry elderberry, because it walks the list backwards. Remove All returns just 2, date and elderberry.
Three checkboxes sit above the panes. Trim lines is on by default, since trailing whitespace is the usual reason a real duplicate slips through. Case-sensitive is off, so Apple and apple collapse together. A sort control on the right can order the survivors afterwards. None of it leaves the page.
(5 kept · 3 removed), so strategies can be compared without copying anything.Copied! 🚀 badge.iPhone ahead of IPHONE preserves iPhone.(0 kept · 8 removed) beside it.8
Total Input
5
Unique Kept
3
Duplicates Removed