{ } 2DevKit
Tools / Data & JSON

JSON ↔ CSV Converter

Convert arrays of JSON objects to CSV and CSV with headers back to JSON, with quoting, delimiter options and downloads.

CSV uses header columns. JSON → CSV expects an array of objects; nested values are serialized as JSON strings. Type inference is optional and may change leading-zero values.

Everything runs locally in your browser.

What is JSON ↔ CSV Converter?

CSV stores tabular information in rows and columns. JSON can represent richer nested structures, so conversion to CSV requires a JSON array of objects. Nested values are encoded as JSON strings in CSV cells. When reading CSV, header names become JSON object keys. Numeric inference is optional, because values such as postal codes and identifiers may need leading zeros.

How to use this tool

  1. Select JSON → CSV or CSV → JSON and choose the separator.
  2. Paste a JSON array of objects or a CSV table with header columns.
  3. Convert, inspect the result, and copy or download a .csv or .json file.

Example

JSON: [{"name":"Ada","score":10}] → CSV: name,score

Related developer tools