A document is not a table — here is the mapping.
The root should be an array of objects, one record per line. Nested objects are flattened into dotted column names, so a mostly flat document converts cleanly and a deeply nested one produces a wide, sparse header row.
[
{ "id": 1, "user": { "name": "kai" } },
{ "id": 2, "user": { "name": "ivy" } }
] id,user.name
1,kai
2,ivy
Where the shape breaks
- ▸Arrays are not spread across columns. The library path joins their items into a single cell, the built-in fallback writes them as JSON text — either way the value does not come back as an array.
- ▸A key present in only some records still becomes a column, and the rows missing it get an empty cell.
- ▸Types are lost on the round trip:
42and"42"are the same three characters in a cell, and line endings are written as CRLF because that is what spreadsheet software expects.
NOTE CSV holds one table. An order with its line items needs either a foreign-key column and a second file, or a format that nests — which is the reason this page also offers JSON to NDJSON.
What you get on this page
- ▸Powered by PapaParse
- ▸Nested objects flattened with dot notation
- ▸Correct quoting for commas and newlines
- ▸Reverse CSV → JSON conversion available
Because bracekit is a static application, this page loads quickly, caches well and never sends your data to a parsing server. Your formatting preferences, recent documents and snippets stay in local storage.