CSV to JSON

Import spreadsheet or log CSV into JSON for APIs and configs. The first row is treated as headers. Column names with dots (address.city) unflatten into nested JSON.

Result

Paste CSV with a header row, then Convert.

How to convert CSV to JSON

  1. Paste CSV with a header row in the first line.
  2. Click Convert.
  3. Each data row becomes a JSON object; dotted headers unflatten into nested keys.
  4. Copy or download the formatted JSON.

FAQ

The first row becomes property names. Each following row becomes one JSON object in an array (or a single object if there is only one data row).
Headers like user.name or items.0 map back to nested objects and arrays using dot-separated paths.
Standard CSV quoting is supported. Fields with commas or quotes should be wrapped in double quotes in the input.
No. Parsing and JSON output happen entirely in your browser.
The first row is always treated as headers. Add a header line or prepend column names before converting, or the first data row will become property names.

Related tools