Public APIs
CSV to JSON API favicon

CSV to JSON API

Development

Convert CSV files to JSON with this API. Ideal for developers who want to automate data workflows and integrate structured data.

CSV to JSON API's website screenshot

About CSV to JSON API

CSV to JSON Converter is a hosted API that converts CSV data into JSON. It accepts input as raw CSV text in the request body, an uploaded CSV file, or a publicly accessible CSV URL, and returns the result as an inline JSON array, a downloadable JSON file, or a pre-signed S3 URL.

The API exposes 9 POST endpoints covering the combinations of input type (raw body, file upload, URL) and output type (inline JSON array, JSON file, S3 URL). For URL-based conversion, the source CSV must be publicly accessible, and the endpoint validates the response Content-Type or Content-Disposition header. File uploads are capped at 100MB total per request, with URL-based endpoints suggested as an alternative for larger files.

Each CSV row is returned as a JSON object with no fixed schema, allowing additional properties. The tool is suited for import pipelines, data normalization jobs, ETL steps, and applications that need to ingest spreadsheet exports into JSON-based systems. It is published and hosted by ApyHub, and listed at version 1.0.0.

Key features

  • Convert raw CSV text, uploaded CSV files, or a public CSV URL into JSON
  • Return converted data as an inline JSON array, a downloadable JSON file, or a pre-signed S3 URL
  • 9 available endpoints covering combinations of CSV input and JSON output formats
  • Validates CSV URL sources by checking Content-Type or Content-Disposition headers
  • Supports file uploads up to 100MB total per request

Frequently asked questions

What input formats does the CSV to JSON Converter accept?

It accepts raw CSV text in the request body, an uploaded binary CSV file, or a publicly accessible CSV URL.

What output formats are available?

You can get results as an inline JSON array, a downloadable JSON file, or a pre-signed S3 URL to the converted file.

Is there a file size limit for uploads?

Yes, uploads are limited to a maximum of 100MB total per request, with a URL-based endpoint recommended for larger files.

Who is this API for?

It's a good fit for import pipelines, data normalization jobs, ETL steps, and tools that need to ingest spreadsheet exports into JSON-based systems.

How is the API accessed?

It's a hosted API on ApyHub, called via POST requests authenticated with an apy-token header.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product