Skip to content

Developer tool

CSV to JSON

Paste a CSV table and turn the rows into a JSON array.

Stays in your browser Processed in your browser. The text is not sent to our servers.

Tip: press Ctrl+Enter (or ⌘+Enter) to run from a text box.

Result will show here after you run the tool.

How to convert CSV to JSON

  1. Paste a table with a header row.
  2. Click Convert to JSON.
  3. Copy the JSON array. Each data row becomes one object.

Commas inside quoted cells stay in that cell. A doubled quote inside a quoted cell becomes one quote character.

Back to Developer tools

Frequently asked questions

What becomes the JSON keys?

The first row. Later rows use those headers as object keys.

Is the CSV uploaded?

No. Parsing happens in your browser.

More questions on the FAQ page · Browse guides

Keep working without leaving the site.