← All nodes
Unstructured Text

Remove Duplicate Lines

Keep only the first copy of each line in a list, without changing the order of what remains.

When to use it

Typical uses: Cleaning email or customer lists before importing them into a CRM; Removing repeated keywords from SEO research exports; De-duplicating URLs, product codes or tags.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Text columnselect—Text
Ignore upper/lowercase differencescheckbox—false
Ignore extra spaces when comparingcheckbox—false
Generate New Columncheckbox—false
New Column Nametext—Default: <column> Result
Insert Afterselect—After the column
When a value cannot be convertedselect—stop

Example

Remove Duplicate Lines: an example

  • Ignore upper/lowercase differences=Ticked
  • Ignore extra spaces when comparing=Ticked
Text arriving
Text
apple banana Apple cherry banana cherry
The text after this node
Text
apple banana cherry

With both options ticked:

Worth knowing

  • Does the tool sort my list? No. The original order is kept. If you also want the result in alphabetical order, run it through Sort Lines A–Z afterwards.
  • Are blank lines treated as duplicates? Yes. Only the first blank line is kept. To remove all blank lines, use Remove Empty Lines.
  • How many lines can it handle? It comfortably handles hundreds of thousands of lines. The only limit is your device’s memory, because everything runs in your browser.
  • Works on any text column, not only Text Input's: pick it under Text column. Tick Generate New Column to keep the original next to the result.

Others in Unstructured Text