Skip to content

Remove Duplicate Lines

Paste a list with one item per line — duplicates disappear and the first occurrence of each line stays in place.

Copy to keep

Lines removed

2

7 lines before → 5 after

Clean list

apple banana Apple cherry date

Lines that appeared more than once

LineTimes it appeared
banana×2
cherry×2

How it works

  1. Paste your list, one item per line.
  2. Choose the options: ignore case, trim spaces, keep or drop empty lines, keep the first or the last copy.
  3. Check how many lines were removed and which ones appeared most often, then press Copy to grab the clean list.

What people use it for

  • Email and contact lists

    Clean a mailing list exported from several sources before importing it.

  • Keywords and tags

    Merge keyword lists or hashtags and keep each one only once.

  • Names for a draw

    Make sure nobody is entered twice before you spin a wheel or pick a winner.

Questions

Does it keep the order of my list?
Yes. Lines stay in their original order. By default the first copy of each line is kept; choose “Last” to keep the last copy instead.
What do “Ignore case” and “Trim spaces” do?
Ignore accents treats “café” and “cafe” as the same line (only Latin-style accent marks are folded; kana, Indic and Arabic marks are left alone). Ignore case treats “Apple” and “apple” as the same line. Trim spaces removes spaces at the start and end of each line, so “ apple ” matches “apple”, and the cleaned lines are what you copy.
Is there a size limit?
No fixed limit: lists of tens of thousands of lines work, as everything runs in your browser. Your list is never uploaded.
Can I see which lines were duplicated?
Yes. Under the clean list, a table shows each line that appeared more than once and how many times, the most repeated first (up to 50 lines). It uses the same options as the cleaning, so “Apple” and “apple” are counted together only if “Ignore case” is ticked. Empty lines are never listed.