Skip to content

Remove Duplicate Lines

Paste a list to remove repeated lines. The first occurrence of each line is kept in its original order.

Key facts

Privacy
Runs in your browser: your files and text are never uploaded

How to remove duplicate lines

Paste your list, one item per line. Duplicates disappear instantly and the counter shows how many were removed. Turn on Ignore case to treat “Apple” and “apple” as the same line.

Useful for cleaning email lists, keyword lists, product SKUs and log files.

Frequently asked questions

Which copy of a duplicate is kept?

The first time a line appears is kept and later repeats are removed, so your list stays in its original order.

Are “Apple” and “apple” duplicates?

Only if you turn on “Ignore case”. By default capitals matter. “Trim spaces” also treats lines that differ only by leading or trailing spaces as the same.

Is there a size limit?

No fixed limit. Lists with hundreds of thousands of lines work in a modern browser because everything runs locally.

How do I remove duplicates in Excel?

Select the column, then choose Data > Remove Duplicates. In Google Sheets, use Data > Data cleanup > Remove duplicates, or =UNIQUE(A:A) to list unique values in a new column.

How do I remove duplicates from a list in Python?

Use list(dict.fromkeys(items)). It keeps the first copy of each item and the original order. set(items) also removes duplicates, but it loses the order.