Remove Duplicate Lines

Paste a list and remove repeated lines in one click. Everything runs in your browser.

0 lines in, 0 unique, 0 duplicates removed
More free tools: Word Counter, Character Counter, Case Converter, Slug Generator and Lorem Ipsum Generator.

What this tool does

Paste a list, one item per line, and the tool removes lines that appear more than once. You get a clean list and a count of how many duplicates were removed. Everything runs in your browser, so your list is never uploaded.

When it helps

Options explained

Frequently asked questions

Which duplicate is kept? The first time a line appears is kept, and later copies are removed. The original order is preserved unless you choose to sort the result.

Does it treat uppercase and lowercase as the same? Not by default, so “Apple” and “apple” count as different lines. Turn on Ignore case to treat them as duplicates.

Why does a line look the same but still stay? Usually there is an extra space at the start or end. Leave Trim whitespace on, and lines that differ only by spaces are treated as the same.

How many lines can I paste? Thousands of lines work fine. Very large lists, such as hundreds of thousands of lines, depend on your browser and device and may feel slow.

Is my text sent anywhere? No. Everything runs in your browser.