Remove Duplicate Lines

Remove duplicate lines from your text and optionally sort the results.

How to Remove Duplicate Lines

Paste your text into the input area and duplicate lines will be automatically removed. The tool preserves the first occurrence of each line and removes subsequent duplicates.

Use the options to customize behavior: enable "Sort lines" to alphabetically sort the output, toggle "Trim whitespace" to ignore leading and trailing spaces, or disable "Case sensitive" to treat "Hello" and "hello" as duplicates.