Remove Duplicate Lines

Paste a list with repeated lines and get back only the unique ones, keeping the original order.

Free · Runs in your browser · Your text is never uploaded

A list with repeated lines becomes a list where each line appears once

How duplicate removal works

Each line is compared with the lines above it. The first time a line appears it is kept; later copies are dropped, so your original order is preserved unless you choose to sort. Turn off “Case sensitive” to treat Apple and apple as the same line, and turn on “Trim spaces” to ignore leading and trailing spaces when comparing.

Good uses

  • Cleaning email lists, keyword lists and URL lists before importing them.
  • De-duplicating log lines or exported spreadsheet columns.
  • Merging two lists: paste both, then remove duplicates.

Frequently asked questions

Does it keep the first or last copy of a duplicate?

The first occurrence is kept and later copies are removed, so the order of your list stays intact.

Can it ignore upper and lower case?

Yes. Uncheck “Case sensitive” and lines that differ only in capitalization count as duplicates.

How many lines can I paste?

Tens of thousands of lines work fine, since everything is processed on your device.

Does it remove blank lines?

Tick “Remove empty lines”. Otherwise a single blank line is kept as one unique line.