How to remove duplicate lines
Paste text and choose matching options. By default, letters are compared without regard to case and whitespace-only lines are removed. Other leading and trailing spaces remain significant. When empty-line removal is off, repeated identical empty lines are still deduplicated. The first occurrence is kept and output uses line-feed separators.
Review removed lines with their original line numbers, copy the result or download a TXT file. No account is required; the tool code processes text in the browser.
← All free tools