Text tool

Remove Duplicate Text Lines

Keep the first occurrence of each line and remove repeated lines from a pasted list.

Runs locally in your browser

Your text is not uploaded.

Simple steps

How it works

  1. 01

    Paste a list with one item per line.

  2. 02

    Choose whether line matching is case-sensitive.

  3. 03

    Copy the list with duplicate lines removed.

Good to know

Frequently asked questions

Which duplicate is kept?

The first matching line stays in its original position.

Are matching lines case-sensitive?

By default, matching ignores letter case. Enable case-sensitive matching to treat different capitalization as distinct.

Are blank lines removed?

No. Blank lines are treated like other line values, so only repeated blank lines are removed.

Does the tool sort my lines?

No. The original order is preserved.

Is my list sent to a server?

No. Duplicate removal runs locally in your browser.