How do I remove duplicate lines from text?
Paste a list, get it back without duplicates. Each line appears only once, in the original order.
Or the opposite, "duplicates only" mode shows you which lines repeat. Useful for finding repeated entries in a database export or a spreadsheet.
How to use it
- Paste text, each line is treated as a separate item.
- The tool immediately shows stats: how many lines total, unique, duplicates.
- Pick the output mode: only unique (the classic) or only duplicates (to find repeats).
- Options: ignore case, trim spaces from line ends, ignore empty lines.
- Copy the result with the "Copy" button.
When this is useful
Situations where duplicates need finding or removing:
- Database export: you pulled a list of email addresses, but some repeat. Clean duplicates before sending a mailing.
- Contact list after importing from multiple sources: one phone number, several contact cards. Find which entries repeat.
- Cleaning a CSV file: before importing into a tool that doesn't handle duplicates (some CRMs).
- Checking list uniqueness: "how many unique customers are in my orders?". Paste the names column and check the counter.
- "Duplicates only" mode: find repeated entries in an export. Useful for data audits or finding errors.
- Shopping list: after merging several lists (from the fridge, from the pantry) some items may repeat.
If you want to sort the list after removing duplicates, use our line sorter.
Questions and answers
Yes. The tool keeps the first occurrence of each line and removes later copies. The list order doesn't change, just gets shorter. If you want to sort additionally, use the line sorter.