sw-tool

Remove Duplicate Lines

Total lines
6
Unique
5
Removed
1

Remove duplicate lines from any list while keeping the original order. Ignore case or spaces, and see how many duplicates were removed. Free.

Paste one item per line. The deduplicated list appears on the right.

How to remove duplicate lines

Paste your list on the left. Only the first occurrence of each line is kept, in the original order.

Options to remove duplicates

"Ignore case" treats Apple and apple as the same. "Ignore leading/trailing spaces" catches lines that differ only by stray spaces.

Dedupe a list and see the numbers

Total lines, unique lines and removed duplicates are shown so you know exactly what changed.

Find duplicates only

Turn on "Show only duplicated items" to list the entries that appeared more than once, handy for spotting double entries in a giveaway.

Duplicates you can't see

If two lines look the same but aren't treated as duplicates, check for a trailing space, different capitalisation or a full-width character. To a computer, "Kim" and "kim " are different. Trimming spaces first solves most cases; for email lists, compare without case.

FAQ

Can I paste a spreadsheet column?
Yes. Each cell becomes one line.
How long can the list be?
Tens of thousands of lines are processed instantly in your browser.

Free Text Tools →