Remove Duplicate Lines
Paste a list to remove repeated and empty lines, trim stray spaces and sort it, then copy the clean list.
Clean list
The cleaned list appears here.
Ctrl+F search · Ctrl+↵ copy result · Ctrl+Shift+F result to input · Esc then Tab leaves the editor
How to remove duplicate lines
- Paste or open a list with one item per line: emails, keywords, names, URLs or log lines.
- Duplicates and empty lines are removed straight away. Choose whether “Apple” and “apple” count as the same, and pick a sort order if you want one.
- Copy or download the clean list, or open Repeated lines to see which lines appeared more than once and how often.
Frequently asked questionsUseful details
4 answers +
Does it change the lines it keeps?
Only if you tick Trim spaces from each line. Ignoring spaces or case only affects which lines count as duplicates; the kept line stays exactly as written.
Can it handle long lists?
Yes. Lists with hundreds of thousands of lines work; files up to 10 MB can be opened.
Can I find duplicates without removing them?
Yes. Untick Remove duplicate lines and open Repeated lines under the result to see every line that appears more than once, with its count.
Is my list uploaded?
No. Everything runs in your browser. Nothing is sent or stored.
More help
Guides, common conversions and useful next steps.
Continue with your result
Use the action beside a finished result to send it directly, or open another tool: