DevTools Pro

Convert a JSON array to CSV

The converter calls JSON.parse in the browser. The text is not uploaded.

What becomes a table

An array of objects becomes one row per object. The keys become the header. A single object becomes one row. An array of strings or numbers becomes one value column.

Nested values

A nested object or array is written as JSON text inside that cell. The page does not invent extra columns for nested keys.

When it fails

Trailing commas, comments, single quotes, and unquoted keys are rejected. Fix those in the JSON formatter, then convert again.

Related