Free tool

Remove duplicate lines

Paste a list and remove duplicate lines so each line appears once. The first copy stays where it was, so the order of your list does not change.

The example is loaded. Paste your own list to replace it.

1
Remove duplicate lines

→ 3 lines

Treat "Apple" and "apple" as different

Ignore spaces at the start and end

Keep

Your text

5 lines

Result

3 lines

What it does

Keep one copy of each line.

Settings you can change

  • Treat "Apple" and "apple" as different
  • Ignore spaces at the start and end
  • Keep: The first copy, The last copy

When to use it

You copied product names from three pages of results and some appear on two pages. Remove the repeats before you count them.

Example: remove duplicate lines

Input

Result

Tips

  • "Blue lamp" and "blue lamp" count as the same line unless you tick "Treat as different".
  • To see which lines were repeated, use Show only the duplicates instead.

Used in these recipes

Often used with

List each line that appears more than once.

Remove every line that has a copy, including the first one.

A to Z, Z to A, or by number.

All free tools

Your text stays on this computer
The list editor works on your computer. The text you paste or open is not uploaded or stored by HeyScraper, and closing the page clears it. Saved recipes are kept in this browser only.

Got your list from a web page?

HeyScraper turns the page you’re on into a spreadsheet, so you can skip the copying and pasting. Free: 500 pages a month.

Get HeyScraper