All tools
Remove duplicate lines
Processed in this browser. Nothing is uploaded.
Example
Example: apple apple pear
Case-sensitive. Text is treated literally. Maximum 1,000,000 characters.
How to use this result
Keep the first occurrence of each distinct line and remove later exact matches. This is useful when combining repeated identifiers or a copied checklist. The order of the first appearances is preserved.
Worked example
text: apple apple pear
apple pear
Limits and edge cases
Matching is case-sensitive: Apple and apple remain separate. Leading and trailing spaces are significant. Repeated blank lines become one blank line; use Trim lines first if whitespace should be ignored.