Search tools

Search for a command to run...

Remove Duplicate Lines

Delete repeated lines from a list and keep the first occurrence of each, with options to ignore case and blank lines.

How to use

  1. 1Paste a list with one item per line.
  2. 2Choose the matching options — duplicates are removed and the original order is kept.

Frequently asked questions

Does it keep the original order?

Yes. The first time each line appears is kept in place; later copies are removed.

Can it ignore capitalization?

Turn on 'Ignore case' and 'Apple' and 'apple' are treated as the same line.

Are leading and trailing spaces ignored?

With 'Trim spaces' on, lines are compared without surrounding whitespace, so stray spaces don't hide duplicates.