Updated
Using Duplicate line remover
Remove repeated lines while preserving their first appearance. Choose whether case and outer spaces matter.
A worked example
The duplicate line remover changes "a\nb\na" becomes "a\nb".
Before you use the result
Matching is line-based. The output uses standard newlines and keeps one empty line if your list has blanks.
Cite this page
ToolOctopus. “Duplicate line remover.” Updated 2026-09-19. https://tooloctopus.com/duplicate-line-remover.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
