CSV to JSON converter

Convert CSV text to a JSON array. The first row is used as headers. Numbers and booleans are automatically typed. Runs entirely in your browser.

CSV input

JSON output

How CSV to JSON works

The first row of your CSV is treated as the header row and becomes the JSON object keys. Each subsequent row becomes a JSON object. Numbers and boolean values are automatically converted to their correct types.

API access

POST /api/v1/datatools/convert/csv-to-json — body: {"input":"csv text"}