CSV to JSON

Convert CSV or delimited text into a JSON array.

CSV input

JSON output

About the CSV to JSON

Exports from spreadsheets, databases and analytics dashboards usually arrive as CSV. Converting to JSON makes the data usable in scripts, fixtures and API payloads.

The parser understands quoted fields, escaped double quotes and newlines inside quotes. You can pick the delimiter and choose whether the first line is a header row or should be turned into positional keys.

Frequently asked questions

Related tools

JSON to YAML

Converters

Convert JSON documents into readable YAML.

Open Tool

YAML to JSON

Converters

Parse YAML and convert it into formatted JSON.

Open Tool

JSON to CSV

Converters

Turn an array of JSON objects into a CSV table.

Open Tool