CSV to JSON

Paste CSV from a spreadsheet and get clean JSON, using the first row as keys. Quotes, commas inside fields and line breaks are handled. Your data stays in your browser.

JSON

Runs in your browser — your data is never uploaded.

How to use it

  1. 1

    Paste your CSV

    Copy a range from your spreadsheet, or paste exported CSV text.

  2. 2

    Pick the header option

    Keep "First row is a header" on to use column names as keys.

  3. 3

    Copy the JSON

    Copy the formatted JSON array.

Questions about csv to json

Does it handle commas inside a field?

Yes, fields wrapped in double quotes keep their commas and line breaks.

What if there is no header row?

Turn off "First row is a header" and you get an array of arrays instead.

Is my data uploaded?

No. The conversion runs entirely in your browser.

Related tools