# JSON CSV

> Convert between JSON and CSV. A JSON array of objects becomes a CSV, and a CSV becomes a JSON array of objects. Direction follows the file extensions.

- Skill: `metadist/json-csv` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add metadist/json-csv`
- Raw SKILL.md: https://api.skillmd.com/api/skills/metadist/json-csv/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: metadist (https://skillmd.com/u/metadist)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/metadist/json-csv

---


# json-csv

Convert tabular data between formats. Direction is chosen automatically from the
input and output extensions.

## How to run

```
python3 <skill_dir>/run.py <input.json> <output.csv>   # JSON array of objects -> CSV
python3 <skill_dir>/run.py <input.csv>  <output.json>  # CSV -> JSON array of objects
```

- Both paths must be in an allowed folder or the **out-box** (write to the out-box).
- JSON input must be an array of objects (a single object is also accepted).

Standard library only. After running, tell the user the saved path.

