Remove duplicate lines

Clean up lists by keeping only the first copy of each line.

Free · No sign-up · No watermark

🔒 Files never leave your device — processing happens in your browser.

How to use

  1. Paste your list, one item per line.
  2. Pick options such as ignoring case or sorting.
  3. Copy or download the cleaned list.

Remove duplicate lines

The first occurrence of each line is kept in its original position, and later copies are removed. The result shows how many duplicates were removed.

Frequently asked questions

Which copy is kept?

The first one. Later duplicates are removed.

Can it sort the result?

Yes, A to Z or Z to A. Otherwise the original order is kept.

Is my text sent anywhere?

No. Everything runs in your browser.

More PDF tools

Text Tools ›