Go to example tasks

Convert CSV and XLSX files to JSON

Turn spreadsheet files into clean JSON rows with real numbers, dates and true/false values, using your header row as field names. Encoding and delimiters are detected automatically. This example converts a sample country-codes CSV. Replace the link with your own CSV or XLSX files and click Start.

Try for free
XLSX & CSV to JSON Converter
XLSX & CSV to JSON Converterridgeline_apps/spreadsheet-converter
File
Sheet
Row
Error
Text
Number
Boolean
List
Object

Input

Spreadsheet files(required):https://raw.githubusercontent.com/datasets/country-codes/main/data/country-codes.csv
Header row:1
Skip empty rows:true
Trim whitespace:true
Detect numbers and true/false in CSV:true
CSV delimiter:auto
Max rows per sheet:100000
Max file size (MB):50

Output fields

File
Sheet
Row
Error

How it works

Sign up on Apify or log in

The XLSX & CSV to JSON Converter Actor is ready to run with the inputs already set for "Convert CSV and XLSX files to JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Convert CSV and XLSX files to JSON" task

The XLSX & CSV to JSON Converter Actor will start running based on the input automatically. You can also change all the input fields, like spreadsheet files, header row, and more, to match your specific use case.

Receive the "Convert CSV and XLSX files to JSON" 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 file, sheet, row, 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 "Convert CSV and XLSX files to JSON" task via API.

Image

Integrate "Convert CSV and XLSX files to JSON" into your workflow

Connect "Convert CSV and XLSX files to JSON" 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