Go to example tasks

Merge Two CSV Files and Remove Duplicates

Combine two CSV lists into one and remove duplicate rows by email, ignoring upper and lower case. Each row shows which list it came from, and the result is sorted by sign-up date with a CSV file to download. The data is pasted in, so it runs without files. Replace it with your own CSV text or file links.

Try for free
Merge Datasets & Dedupe: Combine, Filter, Export CSV & Excel
Merge Datasets & Dedupe: Combine, Filter, Export CSV & Exceldata-done-right/merge-datasets
Email
Name
Country
Plan
+3 fields
Text
Number
Boolean
List
Object

Input

Pasted data (inline sources)
name:shop-newsletter+1
format:csv+1
text:email,name,city,signup mia@example.com,Mia Fischer,Berlin,2024-01-12 noah@example.com,Noah Brandt,Hamburg,2024-02-03 lena@example.com,Lena Vogel,Munich,2024-02-20 omar@example.com,Omar Haddad,Berlin,2024-03-05+1
Source column name:source
Remove duplicates:keys
Dedupe key fields:email
Which duplicate wins:first
Ignore upper/lower case in keys:true
Sort by:signup
Export files:csv
Export file name:merged-contacts

Output fields

Email
Name
Country
Plan
Signup
Company
Source

How it works

Sign up on Apify or log in

The Merge Datasets & Dedupe: Combine, Filter, Export CSV & Excel Actor is ready to run with the inputs already set for "Merge Two CSV Files and Remove Duplicates". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Merge Two CSV Files and Remove Duplicates" task

The Merge Datasets & Dedupe: Combine, Filter, Export CSV & Excel Actor will start running based on the input automatically. You can also change all the input fields, like pasted data (inline sources), source column name, and more, to match your specific use case.

Receive the "Merge Two CSV Files and Remove Duplicates" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as email, name, country, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Merge Two CSV Files and Remove Duplicates" task via API.

Image

Integrate "Merge Two CSV Files and Remove Duplicates" into your workflow

Connect "Merge Two CSV Files and Remove Duplicates" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay