Remove duplicate lines from text while preserving the first occurrence, with case, whitespace, blank-line, and sorting options.
It keeps the first occurrence of each line and removes later matching lines.
Yes. Unique lines remain in their first-seen order unless you enable alphabetical sorting.
Yes. Turn off Case sensitive matching to treat Example and example as duplicates.
Yes. Enable Trim before comparing to ignore spaces at the beginning and end of lines.
Yes. Enable Remove empty lines to exclude blank or whitespace-only lines.
Yes. The text is processed locally in your browser and is not uploaded by this tool.