Remove Duplicate Lines

Remove repeated lines from a list, keeping the first of each. Runs entirely in your browser.

Result

Processed on your device. This file is never uploaded.

  1. 1Paste your list into the input box.
  2. 2Optionally ignore case or surrounding spaces.
  3. 3Copy the de-duplicated result.

De-duplicating a list

Paste a list and every line that repeats an earlier one is removed, leaving one of each in the order they first appeared. It is the quick fix for a merged list, an exported column, or any text where the same entry has crept in more than once.

Matching that fits the data

"Duplicate" is not always exact. The case-insensitive option treats differently-cased copies as the same, and ignoring surrounding spaces catches lines that differ only by stray whitespace — the two reasons a list looks deduplicated but is not. Everything runs on your device as you type.

Frequently asked questions