Remove Duplicate Lines
Remove duplicate text lines while keeping the first occurrence and original order.
Input
24 chars4 lines24 / 100,000
Result
18 chars3 lines
Optional whitespace trimming and case folding affect comparison only. The first original line, including its spaces, is kept. Up to 100,000 UTF-16 units per input
Related tools
Format references
Tool page updated: