Text Tools
Remove Duplicate Lines
Remove duplicate lines from text. Optionally sort, trim whitespace, and ignore case when comparing lines.
Options
How to use Remove Duplicate Lines
1
Paste your lines
Enter one item per line in the input box. Each line will be checked for duplicates.
2
Configure options
Toggle trim whitespace, ignore case, or sort alphabetically to control how duplicates are detected.
3
Copy the result
The deduplicated list appears instantly. Use the copy button to copy it to your clipboard.
Frequently Asked Questions
How does duplicate detection work?
Each line is compared against all previously seen lines. The first occurrence is kept and any subsequent identical lines are removed.
What does the sort option do?
When enabled, the resulting unique lines are sorted alphabetically after duplicates are removed.