Remove Duplicate Lines
Paste a list and get it back with the repeats gone, in the same order. Works on email lists, keywords, log files and CSV rows — nothing is uploaded.
How to use it
- Paste your list into the box on the left, one item per line.
- The result updates as you type — there is no button to press.
- Pick what counts as a duplicate. Keep the first copy is what most people want.
- Press Copy result, or download it as a
.txtfile.
When you would use this
Deduplicating a list is one of those small jobs that appears constantly: cleaning an email or phone list before an import, tidying a keyword list after pulling it from three different sources, stripping repeated lines out of a log file, or removing duplicate rows from data you pasted out of a spreadsheet. A spreadsheet can do it, but opening one just to deduplicate forty lines is slower than pasting them here.
The two settings that matter most are Ignore case and
Ignore spaces at the start and end, both on by default.
Real lists copied from the web are full of stray trailing spaces and
inconsistent capitalisation, and without those two options switched on,
Apple, apple and apple all
survive as three separate entries — which is almost never what you meant.
Frequently asked questions
Does it keep the original order of my list?
Yes. Lines come back in exactly the order you pasted them, minus the repeats. If you want them alphabetical instead, use the Sort Text Lines tool afterwards.
What is the difference between keeping the first copy and deleting every repeat?
Keep the first copy leaves one of each line behind, so a line that appeared four times appears once. Delete every line that repeats removes all four, leaving only the lines that were already unique.
Why are two lines that look identical not being matched?
Usually an invisible difference: a trailing space, a tab, or different capitalisation. Tick Ignore case and Ignore spaces at the start and end and they will match.
Is my text sent anywhere?
No. The comparison happens in JavaScript inside your own browser. Nothing is uploaded and nothing is saved — close the tab and the text is gone.