MISTOOLS

Remove Duplicate Lines

Remove repeated lines from a list and keep only the unique ones.

How it works

  1. Paste your list, one item per line.
  2. Choose the options, such as case and trimming.
  3. Copy or download the unique lines.

About this tool

Long lists of emails, keywords, links or names often contain repeats. This tool keeps one copy of each line and removes the rest, while keeping the original order.

You can ignore upper and lower case, trim spaces, skip blank lines and choose whether to keep the first or the last copy. The Show only the duplicates option lists the lines that appear more than once, so you can see what was repeated. A summary shows how many lines were removed.

Questions

Does it keep the original order?

Yes. The first (or last) copy of each line stays in its place.

Is it case sensitive?

Only if you tick Case sensitive. By default Apple and apple count as the same line.

How many lines can it handle?

Tens of thousands of lines work well on a normal computer or phone.

More tools

More free Text tools