InputJSON

JSON Suite · Workbench

JSON to CSV

Convert a JSON array of objects (or a single object) to CSV. Headers are the union of all keys; nested values are JSON-encoded into their cell.

01

Workbench

Live — runs in your browserUTF-8 · ≤ 2 MB via API
Edit
Convert · Schema Convert to Convert, schema, generate, repair & diff run on the stateless API — input is processed in memory and never stored. Drop a .json file anywhere to load it.

InputJSON
OutputResult / Tree

          
        

02

API for scripts & agents

curl -s -XPOST /api/format -H 'content-type: application/json' \
  -d '{"json":"{\"b\":1,\"a\":2}", "indent":2, "sort_keys":true}'
# → {"ok":true,"output":"{\n  \"a\": 2,\n  \"b\": 1\n}","stats":{...}}
# POST /api/validate · /api/minify · /api/query {json, path} — invalid JSON returns
# {"ok":false,"error":{"message","position","line","column","snippet"}} with HTTP 200
# (validation result, not a server error). Input limit 2 MB → 413.
# POST /api/convert {json, to:"csv"|"yaml"|"ts"} · POST /api/schema-validate {json, schema}