Keep one of every line

Duplicate Line Remover

Remove repeated lines while preserving the original order of everything that remains.

100% in your browserNothing uploadedFree
Input
108 characters · 18 words
Matching rules
Output
3duplicates removed8 before · 5 after
Design for people Build with care Test every detail Ship with confidence
How it works

Stable, order-preserving removal

CorrectTally keeps the first match exactly where it appeared and removes only later duplicates according to your matching rules.

Clear answers

Frequently asked questions

No. The first occurrence stays in its original position, and only later matching lines are removed.

Quick reference

Transformation reference

ModeBest forExample
Case-sensitiveExact matchingItem ≠ item
Ignore outer spacesNormalized matching item = item
Empty lines onlyCompact spacingText duplicates remain
Keep transforming

More text tools