Remove duplicate lines
Paste any list and get every line once, in the order it first appeared, with a count of what was removed.
How to use it
- Paste your list, one item per line.
- Choose whether “Apple” and “apple” count as the same line and whether to drop empty lines.
- Copy the unique lines. Tick Show only the lines that repeat to see which items were duplicated.
What counts as a duplicate
Two lines are duplicates when they match exactly. With Ignore spaces at the start and end, “apple ” and “apple” match; with Ignore upper and lower case, “Apple” and “apple” match too. The first time a line appears is the one kept, written as it first appeared, so the list keeps its order.
Case is compared with the rules of the page language, so on the Turkish page “İSTANBUL” and “istanbul” are treated as the same line.
Common uses
- Cleaning an email list before importing it into a newsletter tool.
- Merging keyword lists from several sources.
- Turning a log or an export into a list of distinct values.
- Finding which names appear twice on a sign-up sheet, with Show only the lines that repeat.
Sorting and comparing lists
To put the list in order, use sort lines, which can also drop duplicates. To see what is in one list and not the other, paste both into text compare.
Related tools
Questions people ask
Does it keep the original order?
Yes. Each line stays where it first appeared; later copies are removed.
How many lines can it handle?
Hundreds of thousands of lines work in a current browser; the limit is your device’s memory, not the page.
Can I remove duplicates in Excel instead?
Yes, with Data > Remove Duplicates. This page is quicker for a list you have as plain text, and it never changes your spreadsheet.
Is the list uploaded?
No. Everything happens in your browser.