DAP Foundry dap.solutions
U-0 · client-spa · v1

Flatten nested JSON to CSV

Paste or drop a JSON object or array. Get a flat CSV table with dotted column names. Runs in this tab. Your inputs stay in this browser.

Drop a .json file here, or choose one. Max 1 MB.

Input

One JSON document: an object or an array. Up to 1,048,576 bytes (1 MB). Paste it, or drop a file. UTF-8.

Output

Copy CSV and Download .csv give RFC 4180 CSV with a header row. Every row ends with CRLF, the last one too. A root object gives one row. Nested objects become dotted column names (user.id). An object under a key is flattened as soon as that key is reached, before the next key. An empty key at the top level adds no part to the names of the keys in the object under it, so {"":{"a":1}} gives a. In numbered columns under it the name starts with a dot (.0.a).

Limits

Inputs not stored

The flattening runs in your browser tab. This page makes no network request with your inputs. They are not uploaded or stored. The tool sets no cookie, uses no local storage and sends no analytics about your inputs.

Errors

Every error names the field, the rule, and shows a small valid example. There is no support desk. If the box does not explain it, the input is outside what this tool does.