QuicklySorted

Remove Duplicate Lines

Clean up a list by removing repeated lines, or find them: keep only the unique lines, keep only the repeated ones, and see which lines repeat most, with options for case and spaces.

0 characters · 1,000,000 remaining

0 characters

Put one item on each line. Repeated lines are handled as you type.

On this device

No signup. Your input is never uploaded.

How to use the Remove Duplicate Lines

  1. Paste your list with one item per line.

  2. Choose what to keep: remove duplicates, only unique lines, or only repeated lines.

  3. Set whether case and spaces at the ends should matter.

  4. Copy the cleaned list.

Questions about the Remove Duplicate Lines

Paste your list with one item per line and choose Remove duplicates. Only the first copy of each line is kept, in the original order.

Choose Keep only unique lines to drop anything that repeats, or Keep only repeated lines to find the duplicates.

Turn off Match case to treat Apple and apple as one line, and turn on Ignore spaces at the ends so a stray space does not make two lines look different.

Missing a tool?

Tell us what you wanted to do. Your ideas decide which tools we build next.

Suggest a tool