Remove Duplicate Lines

Delete repeated lines and keep the first occurrence in order.

Cleaned list

Your result will appear here.

How to use this tool

  1. Paste your list, one item per line, into the input box.
  2. Choose whether to ignore case and blank lines if needed.
  3. Read the cleaned list in the result box and copy it out.

About this tool

You paste three spreadsheets into one column and end up with the same address six times. Sorting by hand does not help, because the order you collected the rows in still matters.

This tool walks your list top to bottom and keeps the first copy of each line. A researcher de-duplicating a contact list and a developer trimming repeated log entries both keep their original sequence. Case and whitespace are compared exactly, so 'Alpha' and 'alpha' are treated as different lines.

Everything runs in the browser. Your list is never uploaded, and there is no account to create.

Frequently asked questions

Which copy of a duplicate line is kept?

The first one. Later repeats are removed, so your original order is preserved.

Does it treat uppercase and lowercase as the same?

By default no, 'Item' and 'item' are different lines. Tick the ignore-case option to merge them.

What happens to blank lines?

They are removed by default. You can keep a single blank line by turning off the blank-line option.