Remove Duplicate Lines

Paste a list to remove repeated and empty lines, trim stray spaces and sort it, then copy the clean list.

Your text is never uploaded
Paste a list, one item per lineOr start from an example:
Waiting for a 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 it works

How to remove duplicate lines

  1. Paste or open a list with one item per line: emails, keywords, names, URLs or log lines.
  2. 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.
  3. Copy or download the clean list, or open Repeated lines to see which lines appeared more than once and how often.
Frequently asked questions

Useful 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?

Files up to 10 MB can be opened. Very long lists can take longer to process or make the repeated-line list slower to browse; split the input if your device struggles.

Can I find duplicates without removing them?

Yes. Untick Remove duplicates and open Repeated lines above the result to see up to 50 of the most repeated lines, with their counts. Cleanup and totals still cover all input lines.

Is my list uploaded?

No. Everything runs in your browser. Nothing is sent or stored.

More help

Guides, common conversions and useful next steps.