PDF Toolkit

JSON to CSV

Convert between JSON and CSV.

Runs in your browser. Your file is never uploaded.

Convert
Separator

How to use JSON to CSV

  1. 1Choose the direction: JSON to CSV, or CSV to JSON.
  2. 2Paste your data or open a file.
  3. 3Copy or download the result.

Questions

How are nested objects handled?

They're flattened into columns with dotted names: {"address": {"city": "Pune"}} becomes an address.city column. Going back from CSV, those columns are nested again.

What if objects have different keys?

Every key that appears in any object becomes a column; objects without it get an empty cell.

Are my files uploaded anywhere?

No. The tool runs as code in your browser tab and processes the file on your own device. Nothing is sent to a server, and the site's security policy blocks the page from sending data to any other website. You can check: open your browser's developer tools, watch the Network tab while the tool runs, and you'll see no upload.