JSON Tools for AI Developers · Runs locally

For AI developers JSON Workbench

Natural language generation · Schema · Zod · OpenAPI · Function Calling · MCP · 30+ tools

JSON ↔ CSV

Ops hands you a CSV and you need a JSON array — or an API returns objects you need in Excel.

JSON → CSV uses object keys as headers. CSV → JSON builds an object array from the first-row headers.

Nested objects are flattened or stringified. For complex shapes, preview in Table first.

Conversion stays local. Customer lists don't need to hit a cloud drive first.

Start with an array of objects

A single object at the root yields very few columns. Paste an array for list APIs. Deep nesting will not become multiple sheets on its own.

Headers decide everything

Duplicate names, empty headers, and stray spaces misalign fields. Clean the first row before you convert to JSON.

How to use it

  1. Paste a JSON array or CSV text.
  2. Pick a conversion direction.
  3. Check that headers line up with the first data row.
  4. Preview on the Table page if you need to read it; copy CSV if you're going to Excel.
  5. If nesting is heavy, export only the flat fields you need.

When to use it

  • Turn a user-list API into a CSV ops can open.
  • Turn a survey CSV into a JSON array you can test against.
  • Prepare a batch of flat test data for Mock.
  • Pair with Table: align first, then export.

Keep in mind

  • Comma-separated by default. Replace tabs first if needed.
  • Commas and quotes inside fields follow common CSV rules. Spot-check odd rows.
  • The table is not uploaded.

FAQ

Can nested JSON become CSV?

Shallow objects, yes. For deep nesting, flatten first or export only the columns you need.

What if headers are duplicated?

A later column with the same name may overwrite the earlier one. Clean the CSV header first.

Is the delimiter only a comma?

It follows common comma CSV. For tab-separated text, replace first, then convert.

Is the table uploaded?

No.

What do empty cells become?

Usually an empty string or a missing key. Spot-check required columns after convert.

Do numbers become strings?

CSV has no types. On the way back to JSON, numbers may stay strings — convert them if you need to.

What if the first row is not a header?

Add a header row first. Without one, the first data row becomes keys and the result is messy.

How is this different from the Table page?

Table is a preview. This page converts to and from CSV.