🧹 Remove duplicate lines
Paste a list and every repeated line disappears. The two options that usually matter — whether ANNA and anna count as the same, and whether a stray space at the end makes two lines different — are yours to set.
Remove duplicate lines
Also do this, in one go
Tick anything else you need and it runs on the same text — no reloading, no copying between pages. Steps run top to bottom.
Everything runs inside your browser. Nothing you paste is uploaded or stored.
What counts as a duplicate?
More often than not, the lines that should match don't — and it is nearly always one of two reasons. A trailing space copied out of a spreadsheet makes [email protected] and [email protected] two different lines to a computer. And a name typed once in capitals and once in lowercase looks identical to you and different to the machine.
Both are switched on or off above, so you can see the effect immediately rather than guessing which tool made which assumption.
First copy or last copy?
When a line appears several times, one of them survives. Keeping the first preserves the original order of your list, which is what you want for anything sorted by importance. Keeping the last is useful when a file has been appended to over time and the newest version of a row sits at the bottom.
Where this saves the most time
Email lists merged from two exports, tag or keyword lists that grew by copy-paste, log files where the same error repeats hundreds of times, and CSV columns pulled out of a spreadsheet. For any of those, tick Sort lines under the extra steps and you get a deduplicated, alphabetised list in one pass instead of moving text between two separate tools.
Is my list sent anywhere?
No. The whole thing runs as JavaScript inside this page, which matters here more than on most tools — the lists people deduplicate tend to be customer emails, subscriber exports, and internal inventories. Your text never leaves the browser, and nothing is saved when you close the tab.
Other tools you might need next
See all Content & Writing tools, or browse every free tool on the site.