Werkery

Remove Duplicate Lines

Strip duplicate lines from any text. Preserve order or sort. Case-sensitive toggle. Shows count of removed lines.

Tool by ·
ad slot ()
ad slot ()

How it works

  1. 1
    Paste
    Lines you want to deduplicate.
  2. 2
    Toggle
    Case + whitespace handling.
  3. 3
    Copy
    Output excludes the duplicates.

Frequently asked

What if I want to keep blanks?

By default, the deduper keeps the first occurrence of a blank line and drops subsequent ones. Toggle trim off to treat lines with different trailing whitespace as distinct.

Get new tools first.

One tool per week. No ads. Unsubscribe anytime.

Related tools

Tool designed and editorially reviewed by Felix Brübach. Text drafted with AI assistance and reviewed for legal and factual accuracy before publication. Not legal advice — for complex cases, consult a lawyer.
ad slot ()