Remove Duplicate Lines
Remove repeated lines from a list of emails, keywords, URLs, or log entries while keeping the original order.
Your text stays in your browser.
Input
Output
About this tool
Each line is compared exactly with the lines before it. The first occurrence is kept and later copies are removed, so the order of first appearances is preserved. Matching is case-sensitive and includes spaces, so "Apple" and "apple " are treated as different lines. Run Lowercase or Trim Text first if you want looser matching.
How to use it
- Paste one item per line.
- Copy the deduplicated list.
- For case-insensitive matching, lowercase the list first.
unique lines, first-seen order
Examples
Keyword list
red, blue, red, green (one per line) becomes red, blue, green.
Case matters
"Paris" and "paris" are both kept because they differ in case.
FAQ
Is the list sorted?
No. Lines stay in the order they first appear. Use Text Sorter if you also want them sorted.
Are blank lines removed?
Only repeated blank lines. The first blank line is kept like any other line.
How large a list can I paste?
Tens of thousands of lines work in a modern browser. Very large files are limited by your device's memory.

