Richscripts

Remove duplicate lines

Paste a list and get each line only once, in the original order. Useful for email lists, keywords and log files.

Private: everything happens in your browser. Nothing you type or choose is uploaded.

How to use it

  1. Paste your lines.
  2. Choose whether case and extra spaces count as different.
  3. Copy the result; the count of removed lines is shown.

Questions and answers

Which copy of a duplicate is kept?

The first one. Later repeats are removed and the order of the remaining lines does not change (unless you tick Sort).

Can it ignore case?

Yes. With "Ignore upper/lower case", Apple and apple count as the same line and the first spelling is kept.

Is there a size limit?

No fixed limit; lists of hundreds of thousands of lines work in a modern browser.

Text tools