About Duplicate Line Finder

Duplicate Line Finder groups the lines that appear more than once, showing each group's count and line numbers.

It can also return only the duplicates, only the lines that appear once, or the whole list with duplicates removed. It runs in your browser.

How to use it

  1. Paste your lines.
  2. Set the matching options: trim, ignore case, ignore inner whitespace.
  3. Read the duplicate groups, or copy the de-duplicated text.

Common questions

Which copy does de-dupe keep?

The first occurrence by default. There is an option to keep the last one instead.

Can it ignore differences in spacing?

Yes. Ignore inner whitespace treats runs of spaces and tabs as a single space when matching.

Does it change the order?

De-dupe keeps the surviving lines in their original order.

Does anything leave my browser?

No. The tool runs entirely on this page.