Formatting
Repeated lines show up in merged logs, copied lists, and exports that print a header twice. This page walks top to bottom and keeps a line the first time it sees that exact text. Later copies are dropped. The survivors stay in their original order, not in sorted order.
Case is part of the text until you say otherwise. “Odd socks”, then “odd socks”, then “Odd socks” becomes “Odd socks” and “odd socks”. The third line is a repeat of the first. The second is not. Ignore case when deduplicating, set to yes, folds the comparison, so that list becomes the single line “Odd socks”, the first spelling you wrote.
Blank lines are lines. Two blank lines in a row collapse to one. A line that differs by a trailing space is a different line, because the space is a character. Trim first if the duplicates only look different because of padding. A single line such as “Odd socks in the dryer.” has nothing to drop.
Odd socks odd socks Odd socks Ignore case left off.
Odd socks odd socks The third line repeats the first and is dropped. The lowercased line stays.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
The first one. Later exact copies are removed. The list is not sorted.
Only if ignore case is yes. The default comparison is exact, so both lines stay and the spelling of the first Odd is what you would keep if you then turn the switch on.
“socks” and “socks ” are different lines. Trim the ends first if that space is an accident.
A second blank line is a duplicate of the first blank line, so it goes. A single blank line stays. Use remove empty lines if every blank should go.
No. The whole line is the unit. “the the” on one line is untouched. The duplicate word finder is the tool for repeated words.