Text Deduplicator
Remove duplicate lines from text while preserving original order. Supports case-insensitive matching and whitespace trimming. Free online tool.
How to Use
Paste your text
Paste the text with duplicate lines into the left area. Works great for lists, URLs, log entries, and more.
Configure options
Choose whether to use case-sensitive matching, trim whitespace, or remove empty lines.
Copy the result
The deduplicated text appears on the right, preserving the original order. Click Copy to copy to clipboard.
FAQ
Yes. This tool keeps lines in their original order, retaining the first occurrence of each duplicate and removing subsequent ones. Use text-sorter if you also need to sort.
Yes. Uncheck 'Case sensitive' to treat 'Apple', 'apple', and 'APPLE' as duplicates. The default is case-insensitive.
When enabled, leading and trailing spaces are removed from each line before comparison, so ' apple ' and 'apple' are treated as duplicates.
Text Sorter sorts lines and optionally removes duplicates. This tool removes duplicates without sorting, preserving the original order.
The tool runs entirely in your browser and can handle tens of thousands of lines without any issues. No data is sent to a server.