Remove Duplicate Lines
Paste a list and get it back without duplicate lines. Keep the first copy of each line, ignore upper and lower case, trim spaces, drop empty lines and sort the result A to Z if you want.
- Keeps the first copy
- Ignore case and spaces
- Sort A-Z or Z-A
- No sign-up
How to use
- Paste your list with one item on each line.
- Choose the options: case sensitive, trim spaces, remove empty lines, and an optional sort.
- The unique lines appear in the result box with a count of removed lines.
- Press Copy result to use the clean list.
What counts as a duplicate?
Two lines are duplicates when they are exactly the same. With Case sensitive off, "Apple" and "apple" count as the same line. With Trim spaces on, leading and trailing spaces are ignored, so " apple" and "apple " match. The first copy of each line is always kept in its original position unless you sort.
Good for
Email lists, keyword lists, URLs, log lines, product SKUs and CSV columns. To see what changed between two lists, use text compare.
Frequently asked questions
Which copy of a duplicate is kept?
The first one. Later copies are removed.
Can it ignore capital letters?
Yes. Untick "Case sensitive" so Apple and apple count as the same line.
Is there a limit on the list size?
No fixed limit. Lists of many thousands of lines work fine in modern browsers.
Is my list uploaded?
No. It is processed on your device.