JSON to CSV Converter Online

Local processing

Convert JSON objects and arrays to CSV, flatten nested fields, and download the result locally.

94 chars · 4 lines

53 chars · 3 lines

2 rows3 columnsNested objects flattened

JSON conversion guide

How to convert JSON to CSV

Paste a JSON object or an array of objects into the converter above. VetaTool discovers the available fields, flattens nested objects, escapes CSV values correctly, and produces a downloadable file without sending the source data to a server. This tool is free to use. No account or payment is required.

Last updated

What you can do here

  • Nested JSON flattening
  • Comma, semicolon, and tab delimiters
  • Optional CSV header row
  • Spreadsheet formula protection
  • Browser-local conversion
  • CSV file download

How to use

  1. Paste JSON or import a .json file.
  2. Choose comma, semicolon, or tab as the delimiter.
  3. Keep the header enabled unless another system expects data rows only.
  4. Review the generated columns, then copy or download the CSV output.

How nested JSON is handled

Nested objects become dot-separated column names. For example, a name inside user becomes user.name, while user.address.city becomes its own column.

This keeps one CSV row for each top-level JSON object and makes deeply nested data usable in spreadsheets and import tools.

Arrays, missing fields, and null values

Array values are serialized as JSON inside a single CSV cell. Fields that only appear in some records are still included as columns, with empty cells where the field is missing.

  • JSON null values become empty cells.
  • Numbers and booleans keep their readable values.
  • Empty objects and arrays remain valid JSON text inside a cell.

Spreadsheet-safe CSV output

Spreadsheet-safe mode protects string cells that begin with formula characters such as equals, plus, minus, or at signs. The converter adds a leading apostrophe so spreadsheet software treats the value as text instead of executing it as a formula.

Numeric values such as -5 remain numbers, and you can disable the protection when an exact raw export is required.

JSON to CSV example

A nested user object becomes separate user.name and user.active columns, while the tags array remains JSON inside one CSV cell.

JSON input

[
  {
    "id": 1,
    "user": { "name": "Ada", "active": true },
    "tags": ["json", "csv"]
  }
]

CSV output

id,user.name,user.active,tags
1,Ada,true,"[""json"",""csv""]"

Common questions

Frequently asked questions

Does this JSON to CSV converter upload my data?

No. Conversion happens in your browser, so pasted JSON and imported files are not sent to a VetaTool backend.

Can it convert nested JSON to CSV?

Yes. Nested object keys are flattened with dot notation, such as user.name and user.address.city.

How are JSON arrays stored in CSV cells?

Array values are kept as JSON text inside one correctly escaped CSV cell, which avoids duplicating parent rows or creating unexpected combinations.

What does spreadsheet-safe mode change?

It prefixes formula-like string values with an apostrophe so Excel and similar applications treat them as text. Real numeric values are unchanged.

Looking for broader references? Browse all developer guides.