JSON to CSV Converter

Convert JSON arrays and objects to CSV instantly. Handles nested structures by flattening keys with dot notation.

Output will appear here

How the converter handles nested JSON

Real-world JSON rarely maps cleanly to a flat table. JSON Mint flattens nested objects by joining keys with dots (user.name, user.address.city) and indexes array elements with brackets (tags[0]). Header rows are assembled from the union of keys across all records, so rows with missing fields appear as empty cells.

Pass an array of objects to get one row per object, or a single object to produce a two-row CSV (header + values). Primitive arrays are joined with pipes to keep the CSV flat.

Frequently Asked Questions

What does the input JSON need to look like?+

Either an array of objects (one row per element) or a single object (one row). Nested fields are flattened using dot notation.

Can I use a different delimiter?+

The current version outputs comma-separated CSV. Tab- and semicolon-separated output is on the roadmap.

How are special characters escaped?+

Cells containing commas, quotes, or newlines are wrapped in double quotes, and embedded quotes are doubled, following RFC 4180.

Related Tools