Remove Duplicate Lines

Paste a list and instantly remove duplicate lines, with options to ignore case, trim whitespace, drop empty lines and sort A→Z. See how many duplicates were removed. Free, private, in-browser dedupe tool.

Unique lines

How to use the Remove Duplicate Lines

  1. 1

    Paste your list, one item per line.

  2. 2

    Choose case, trim and empty-line options.

  3. 3

    Optionally sort the result.

  4. 4

    Copy your clean, unique list.

Frequently asked questions

Does it keep the original order?

Yes by default — the first occurrence of each line is kept in order. Turn on 'Sort A→Z' to reorder alphabetically.

Can it ignore case and spacing?

Yes — 'Ignore case' treats Apple and apple as the same, and 'Trim whitespace' ignores leading/trailing spaces.

Is my list uploaded?

No — deduplication runs entirely in your browser.

Tips & discussion

Share a trick, ask a question, or help others get more out of this tool.

Log in to share a tip or ask a question.

Loading tips…