Nested JSON does not become CSV columns here
KeptTools JSON Converter keeps CSV to top-level keys, drafts TypeScript from the first object, and runs in the browser with no convert API call.

I needed a CSV from a small JSON list for a spreadsheet. Each row had an id, a name, and a meta object. I expected active to become its own column. It did not.
On KeptTools JSON Converter, CSV keeps top-level keys only. A nested object is written as one cell, not as extra columns. That is on the page under common mistakes and in the FAQ.
Tool: https://kepttools.com/json-converter
The path I took
- Paste an array of objects.
- Choose CSV.
- Copy the result into a sheet.
meta showed up as a single cell of JSON text. Annoying if you wanted pivots on active. Correct if you treat nested values as opaque. For flat columns I reshape the JSON first, then convert.
The other limit that saves time
If you pick TypeScript or PHP DTO instead, the draft comes from the first object only. A later row with an extra field is left out. Useful as a stub; dangerous if you assume the whole array was scanned.
Laravel mode is different: it can keep the full list and nested arrays in PHP syntax. That is the default sample path when the page opens.
Privacy and parse errors
Conversion runs in the browser. The FAQ says there is no API call for it. Invalid JSON (trailing commas, single-quoted keys) shows a parse error and empty output—fix that in the JSON formatter, then convert again.
When this is enough
Seeders, quick TypeScript stubs, and “good enough” CSV exports from a payload you already trust structurally. When the second row disagrees with the first, read the limit before you trust the draft.
I keep the converter next to the JSON formatter: invalid JSON never becomes a half-written CSV. Trailing commas and single-quoted text fail loudly. That is better than a silent wrong file in a spreadsheet.
Open the sample and switch between Laravel and CSV once: https://kepttools.com/json-converter
Comments
Join the discussionNo comments yet. Be the first to comment.

