Text & writing

Duplicate Line Remover

Remove repeated lines from a list while keeping the first occurrence in its original order.

Make it yours

Processed in your browser

Your result

A little input. A useful result.

Adjust the example inputs, then select Remove duplicates.

A LITTLE KNOW-HOW

About this tool

Clean a list of names, tags or copied values by removing repeated lines. Keep capitalization significant, or ignore it when matching. Optional trimming removes whitespace from the start and end of every line before comparison.

How to use it

  1. 1

    Paste a list with one item per line.

  2. 2

    Choose whether to match case and trim line edges.

  3. 3

    Remove duplicates and copy the cleaned list.

Questions, answered

Will the order change?

No. The first occurrence of each matching line remains in its original position.

Are empty lines removed?

Repeated empty lines are reduced to one. A single empty line is preserved; use Whitespace Cleaner to remove all blank lines.