Duplicate line remover with explicit matching rules

Deduplicate lists and line-based text while choosing case-sensitive matching, whitespace trimming, and whether the first or last occurrence survives.

Lines in0
Lines out0
Duplicates removed0
Deduplicated lines

This is the free version

Works where you write

PromptDC rewrites selected text in any app, every browser, your IDE and your terminal on Mac and Windows.

One keyboard shortcut

Select text, press Cmd+Shift+E or Ctrl+Shift+E, review the result, then Replace or Copy. It never presses Enter for you.

Your profiles, your models

Pick a default profile per app, or bring your own API key on the Lifetime plan.

Free here: unlimited, this utility runs entirely in your browser. In the app: from $9/mo, or Lifetime from $69 with your own API key.

Deduplication is only trustworthy when its comparison rules are visible. Case-sensitive mode keeps differently capitalized lines distinct, while trimming determines whether surrounding spaces affect matching and output. Keeping the last occurrence preserves the original order of those surviving last entries rather than sorting the list. Counts for input, output, and removed duplicates update with every option, and all processing is local and unlimited.

Common questions

More tools

Looking for another tool?
See all free tools

Want this in every app?
Get the desktop app

Writing every day?
See writing

Write better with AI

Enhance any text you select in any app on desktop, in browsers, in your editor or terminals.

Download PromptDC