Remove Duplicate Lines

Paste a list with one item per line and get a clean list without repeats.

How to use Remove Duplicate Lines

  1. 1Paste your list, one item per line.
  2. 2Choose whether to remove duplicates, keep only unique lines or show repeated lines.
  3. 3Set the options, then copy or download the result.

About this tool

Lists of emails, names, keywords or product codes often contain repeated entries. This tool removes the repeats and keeps the first copy of each line, so your original order is preserved unless you choose to sort.

You can ignore capital letters, trim spaces around each line and remove empty lines. Two other modes keep only lines that appear once, or show only the lines that are repeated, which is handy for finding mistakes. Everything happens in your browser.

Frequently asked questions

Does it keep the original order?

Yes, unless you choose to sort the result.

Can it treat Apple and apple as the same?

Yes. Turn off Case sensitive.

How do I find only the repeated lines?

Choose the option that shows only the lines that are repeated.

More text tools