Remove Duplicate Lines

Paste a list and remove repeated lines. Choose whether to keep the first or last occurrence and how strictly lines should be compared.

Runs entirely in your browser — your text is never uploaded

Result · 0 duplicate lines removed

How to use the remove duplicate lines

  1. Paste your list, one item per line.
  2. Choose keep first or keep last, and whether matching ignores case.
  3. Optionally trim whitespace and drop blank lines.
  4. Copy the cleaned list.

Examples

Input

apple / banana / apple

Result

apple, banana — 1 duplicate removed

Input

Email list with mixed casing

Result

Enable ignore case to catch more duplicates

About the remove duplicate lines

Deduplication is a routine cleanup step for email lists, keyword exports, log samples, tag lists and CSV columns. Doing it in a spreadsheet takes several steps; here it is one paste.

Keeping the last occurrence is useful when later rows are the more recent version of an entry; keeping the first preserves original ordering.

Frequently asked questions

Is the original order preserved?

Yes. Lines stay in their original order minus the removed duplicates.

Can it handle large lists?

Comfortably — tens of thousands of lines process instantly because the work happens in your browser.