Text & WritingTool 03
Remove Duplicate Lines
Clean a pasted list of emails, URLs or IDs. Duplicates disappear, order is preserved, and blank lines are dropped.
Remove duplicates
13 / 232Result
WaitingRun the tool and the result appears here. Copy it or download it — nothing leaves this tab.
Privacy
Everything you type stays in this tab and is processed by JavaScript on your device. Nothing is uploaded, logged or stored on a server.
How to use it
Paste your list with one item per line.
Turn on Ignore case if Apple and apple should count as the same entry.
Copy the cleaned list. The first occurrence of each line is kept.
When to use it
Email lists
Remove repeated addresses before a mail merge.
Keyword lists
Dedupe a research list so counts are not inflated.
URL inventories
Strip repeated links from a crawl export.
Questions
Which duplicate is kept?
The first occurrence in reading order. Everything after it is removed.
Are blank lines removed?
Yes. Empty lines are skipped rather than kept as a unique entry.
Does it trim spaces?
Not in this mode. Two lines that differ only by leading spaces are treated as different.
How do I remove duplicate lines from a list without changing the order?
Paste the list and run the dedupe step. The first occurrence of each line is kept and later copies are dropped, which preserves the original order instead of sorting the list.
Does it trim spaces before comparing lines?
Trailing whitespace is easy to miss in a pasted list and makes two identical addresses look different. Trim first if the source is a spreadsheet export, then dedupe, so lines that differ only by a trailing space are treated as one.