Choose whether "Apple" and "apple" count as the same, whether spaces at the ends matter, what to do with blank lines, and whether to keep the first or the last copy. You can also sort the result A to Z or naturally (file 2 before file 10), show only the lines that were repeated, and put a count in front of each line. It handles lists of 100,000 lines and more in a blink, and you can copy the result or download it as a .txt file. Nothing is uploaded.
How it works
The list is split at each line break (Windows, Mac and Linux line endings all work). Each line is turned into a comparison key: with "Ignore spaces at the start and end" on, leading and trailing spaces and tabs are removed; with case-sensitivity off, the key is lowered using the page language's rules. The key is also normalized to Unicode NFC, so an é typed as one character and an é typed as e plus an accent count as the same line. Then the tool walks through the list once, keeping a table of the keys it has already seen and how many times. That is why 100,000 lines take a fraction of a second: each line is looked up once instead of being compared with every other line. With "The first one", a line stays where it first appeared and later copies are dropped; with "The last one", it moves to where it last appeared, written the way it was written there. Blank lines are left in place by default and never count as duplicates, so paragraphs keep their spacing. You can remove them all or treat them like any other line. "Only lines that were repeated" lists each line that appeared more than once, a quick way to find the duplicates rather than delete them, and "Only lines that appear once" does the opposite. Sorting uses your language's alphabetical order (Intl.Collator), so accented letters sort next to their base letter instead of after Z. Natural order compares numbers by their value, so "item 2" comes before "item 10".
Worked example
A mailing list of 7 lines: anna@example.com, ben@example.com, Anna@example.com, carla@example.com, "ben@example.com " with a trailing space, dave@example.com and anna@example.com again. With the default settings (case-sensitive, spaces at the ends ignored) the tool keeps 5 lines and removes 2: the second anna@example.com, and the ben@example.com with the stray space, which matches once the space is ignored. Anna@example.com stays, because a capital A makes it a different line. Email addresses don't care about case, so untick "Case-sensitive": now 4 lines remain (anna@example.com, ben@example.com, carla@example.com, dave@example.com), 3 are removed, and the counter shows 2 lines that were repeated.