Remove Duplicate Lines

Paste a list and get it back with every repeated line removed. Choose whether capital letters and spaces count, and see how many duplicates were found. Everything runs in your browser. Nothing you type is uploaded or stored on our servers.

Result

When it helps

Use it to clean email lists, keyword lists, product codes, log lines or any text with one item per line. Your list never leaves your device.

Next steps

Put the clean list in order with sort and reverse text, compare two lists with the diff checker, or count what is left with the word counter.

Frequently asked questions

How does it decide a line is a duplicate?

Two lines are duplicates if their text is identical. With Ignore case on, Apple and apple count as the same. With Trim spaces on, a line with extra spaces at the ends matches the same line without them.

Which copy is kept?

The first one. The order of your list is never changed unless you also turn on sorting.

Can I get only the lines that were repeated?

Yes. Choose Show only the duplicates to list each repeated line once.

Is there a limit on the list size?

There is no fixed limit. Lists of many thousands of lines work fine in a modern browser.