How to remove duplicate lines
- Paste your list into the input box on the left — one item per line. Duplicates are removed instantly.
- Choose Keep mode — First (default) keeps the first occurrence; Last keeps the final one. Useful when your list is ordered by recency.
- Choose Output mode — Unique shows the clean deduplicated list; Dupes only shows which lines were repeated; Mark dupes keeps everything but flags each repeated occurrence.
- Adjust options — toggle case-sensitivity, whitespace trimming, and empty line removal as needed.
- Copy the output with the copy button at the top right of the output panel.
Output modes explained
Unique
DefaultReturns only lines that are not duplicated, plus one instance of each duplicated line. This is the standard deduplication mode — the output is a clean list with no repeats.
Duplicates only
Audit modeReturns only the lines that appeared more than once, one instance each. Use this to audit what was duplicated — for example, to find common items across two merged lists, or to spot data entry errors.
Mark duplicates
Review modeReturns all lines with duplicate occurrences marked as "← duplicate #N". Use this when you want to review duplicates in context before deciding which ones to delete manually — useful for data quality reviews.
Common uses for duplicate removal
Email list cleanup
Remove duplicate email addresses from a mailing list before sending a campaign to avoid double-messaging.
Keyword list deduplication
SEO keyword lists often accumulate duplicates across exports from different tools. Clean them before importing.
Merging two lists
After combining two data exports, use this tool to remove the overlap and get a clean union of unique entries.
Code import cleanup
Remove duplicate import statements or CSS class names that crept in during a merge or refactor.
Survey response audit
Find duplicate entries in form responses — same person submitting twice, or data pipeline errors.
Tag normalisation
Deduplicate tag, label, or category lists that grew organically with inconsistent capitalisation.