Go to example tasks

Combine JSON and JSONL Files into One Dataset

Merge a JSON list and a JSON Lines list into one table. Nested fields are flattened, duplicates by SKU keep the newest row, columns are picked and renamed, and the result is sorted by price. The data is pasted in. Replace it with your own JSON, JSONL 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-a+1
format:json+1
text:[{"sku":"A-100","title":"Ceramic mug","price":{"amount":12.5,"currency":"EUR"}},{"sku":"A-101","title":"Linen napkins","price":{"amount":18,"currency":"EUR"}},{"sku":"A-102","title":"Wool throw","price":{"amount":59,"currency":"EUR"}}]+1
Source column name:source
Flatten nested fields:true
Remove duplicates:keys
Dedupe key fields:sku
Which duplicate wins:last
Sort by:price.amount:desc
Columns to keep (in order):sku+4
Rename columns:{2 fields}

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 "Combine JSON and JSONL Files into One Dataset". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Combine JSON and JSONL Files into One Dataset" 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 "Combine JSON and JSONL Files into One Dataset" 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 "Combine JSON and JSONL Files into One Dataset" task via API.

Image

Integrate "Combine JSON and JSONL Files into One Dataset" into your workflow

Connect "Combine JSON and JSONL Files into One Dataset" 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