Remove Duplicate Lines
Delete repeated lines and keep each line once.
Keep or share the finished result
Copy or share after running the tool. Saved tools and settings stay in this browser.
What would you like to do next?
Remove duplicate lines
Paste a list above to remove duplicate lines: the first time a line appears it is kept, and any later identical lines are dropped. The original order of the remaining lines is preserved, so your list stays in the sequence you pasted it. This is handy for cleaning email lists, keyword lists and any data exported with repeats.
How matching works
Lines must match exactly to count as duplicates, including capitalization and spacing. Tidy the spacing first with remove extra spaces if your duplicates differ only by stray spaces.
Frequently asked questions
Does it sort the lines?
No. It preserves the original order and only removes later repeats of a line.
Is the matching case sensitive?
Yes. Lines must match exactly, including capitalization, to be treated as duplicates.