Remove Duplicate Lines

Delete repeated lines from a list and keep only unique entries.

Tool

Was this tool useful?

About this tool

About Remove Duplicate Lines

Clean up email lists, keyword lists and logs. You can ignore letter case and extra spaces when comparing lines.

How it works

Each line is compared with the lines before it; only the first copy of each line is kept, so the original order stays the same.

Example

apple, Apple, banana, apple → with “ignore case”: apple, banana.

How to use this tool

  1. Paste your list, one item per line.
  2. Choose case and whitespace options.
  3. Copy the unique lines.

Frequently asked questions

Is the order kept?

Yes. The first time each line appears is kept in its original position.

Can it remove empty lines?

Yes, tick “Remove empty lines”.

Is my text stored when I use the Remove Duplicate Lines?

No. The Remove Duplicate Lines processes your text in your browser. Nothing you type or paste is sent to our server, so it is safe for drafts and private notes.