CSV with Dot-Notation Headers to Nested JSON

Use dot-notation columns to rebuild nested objects from a spreadsheet or a previous JSON-to-CSV export.

A specific workflow: CSV with Dot-Notation Headers to Nested JSON

A CSV export uses columns such as user.name and user.address.city, but your API expects a nested user object.

Example input

user.name,user.address.city
Ari,Jakarta

Expected output

[
  {
    "user": { "name": "Ari", "address": { "city": "Jakarta" } }
  }
]

How to use CSV to JSON

  1. Paste or upload your CSV

    Paste CSV text or open one or more .csv files exported from Excel, Google Sheets or a database client. Everything stays on your machine.

  2. Headers become JSON keys

    The first row is read as the header row and each column name becomes a property on every record. Switch to the Table view first if you want to sanity-check how the columns were detected.

  3. Copy or download the JSON

    Get back a formatted array of objects you can paste straight into a test fixture, a seed script or an API request body.