Clean and optimize your text by detecting and removing duplicate lines. This duplicate lines remover keeps the first occurrence, preserves original order, and supports optional settings like ignore case, trim whitespace for comparison, and remove all empty lines. All processing runs in your browser.
The Duplicate Lines Remover cleans multiline text by removing repeated lines while preserving the original order. It keeps the first occurrence of each line and removes only exact duplicates based on your selected comparison settings.
Line and line as duplicatesInput:
Apple Banana Apple banana Banana
Default output (case-sensitive):
Apple Banana banana
Output with Ignore case enabled:
Apple Banana