Remove duplicate lines from a list
Paste a list, one item per line, and get back each line only once. You can also trim stray spaces, ignore capital letters when matching, and sort the result from A to Z or Z to A. A counter shows how many lines went in and how many came out. Use it on email lists, keyword lists, roll numbers, product codes or a column copied from Excel or Google Sheets. Your list stays in this tab.
Options
| Option | What it does |
|---|---|
| Remove duplicates | Keeps the first copy of each line |
| Trim spaces | Removes spaces at the start and end of each line before comparing |
| Ignore case | Treats “Delhi” and “delhi” as the same line |
| Sort A–Z / Z–A | Sorts after duplicates are removed |
Tips
- Turn on trimming when lines look identical but don’t match. Hidden trailing spaces are the usual cause.
- Leave sorting off if the original order matters.
- Comparing two lists rather than cleaning one? Use Text diff.
Related tasks
Fix capitalisation with the case converter, or count items with the word counter.
