How to remove duplicate lines
- Paste your list into the input box, one item per line. You can paste a column straight from Excel or Google Sheets.
- Choose the options. The result updates as you type.
- Copy the result or download it as a text file. The counter shows how many duplicates were removed.
Options explained
- Ignore case treats “Apple” and “apple” as the same line. The first spelling that appears is the one kept. Turn this on for email addresses and domain names, which are not case-sensitive.
- Trim spaces removes spaces and tabs at the start and end of every line before comparing, so “apple” and “apple ” match. Spaces inside a line are kept.
- Remove blank lines deletes empty lines. When it's off, blank lines are kept where they are and never treated as duplicates, so paragraph spacing survives.
Order is always preserved. If you also want the list alphabetized, run the result through the sort lines tool, which can remove duplicates at the same time.
Typical uses
- Merging mailing lists or customer exports without sending the same person two emails.
- Cleaning keyword research lists before importing them into an ads or SEO tool.
- Finding the unique values in a spreadsheet column (paste the column, copy the result back).
- Reducing repeated messages in a log file to see the distinct errors.
Because nothing is uploaded, it's safe to use with customer email addresses and other personal data.
Frequently asked questions
Which copy of a duplicate line is kept?
The first one. Later copies are removed and every remaining line keeps its original position.
How many lines can it handle?
Hundreds of thousands of lines are processed almost instantly; the practical limit is your browser’s memory, not a setting on our side.
Is it safe to paste a customer list?
Yes. The list is processed by JavaScript in your browser and never leaves your device. We have no server that receives it.
Can I remove duplicates in Excel instead?
Yes — Data › Remove Duplicates in Excel, or Data › Data cleanup › Remove duplicates in Google Sheets. This tool is quicker for plain lists and for text copied from other places, and it shows exactly how many lines were removed.