Paste a list and remove repeated lines instantly.
Paste a list with one item per line and the tool returns the same list with repeated lines removed. The first time a line appears it is kept, and every later copy is dropped, so the original order of your list is preserved. It is useful whenever a list has grown by copy and paste: email addresses collected from several sources, a keyword list for a project, product SKUs, names on a guest list, URLs or log entries.
If you expected a line to be removed and it was not, the lines probably differ by an invisible character, a different kind of quote, or a trailing space. Turn on trimming and run it again. If you want to also sort the cleaned list, paste the result into a spreadsheet or a text editor afterward.
The work happens in your browser, so even a list of tens of thousands of lines is processed in a moment and nothing leaves your device. Blank lines are treated like any other line, so only the first empty line survives. Remove blank lines first if you do not want any, or use the Remove Line Breaks tool when you need to join lines into a single paragraph. Always keep a copy of the original list until you have checked the result, because removing duplicates cannot be undone once you close the page.
Paste a list such as apple, banana, apple, cherry, banana, with one item per line, and the result keeps one of each. With Ignore case turned on, Apple and apple count as the same line. With Trim whitespace on, a line with a stray space at the end matches the one without it.
The tool is good for cleaning mailing lists, keyword lists, product codes, usernames, URLs, log lines and exported spreadsheet columns. Turn on Remove empty lines to tidy a list with gaps, and Sort A-Z when you want the cleaned list in alphabetical order.
If the order of the original list matters, leave sorting off so the first occurrence of each line stays where it was. Check the result before you replace your original data.
Check the line count before and after so you know how many duplicates were removed. If you are cleaning a list that will be used in another system, such as a mailing list or a set of product codes, keep a copy of the original in case the cleaning options removed something you wanted to keep. Remember that two lines that differ even by a single space are treated as different unless Trim whitespace is on.
Does this keep the first or last occurrence of a duplicate?
The first occurrence of each line is kept, and any later repeats are removed — the order of your remaining unique lines is preserved.
What does "ignore case" do?
With it enabled, "Email" and "email" are treated as duplicates. Without it, they're treated as two different lines since the capitalization differs.
Can this handle very large lists?
Yes, it comfortably handles lists of thousands of lines since the comparison runs locally in your browser rather than over a network.