JSON ⇄ CSV Converter
Convert JSON arrays into CSV, or CSV into JSON. Handles quoted values, commas, and newlines.
Convert a JSON array of objects into a CSV table for spreadsheet tools, or turn a CSV export into a JSON array for scripts and APIs. Nested field names become flattened column headers, and values containing commas, quotes, or newlines are correctly quoted or parsed in both directions. Common for turning an API response into something a non-technical teammate can open in Excel, or importing a CSV export into a JavaScript app. Runs entirely client-side.
Runs on your device. This tool processes your file inside this browser tab. Nothing is uploaded, so it also works offline once the page has loaded, and closing the tab discards the file from memory.
Loading tool
How it works
- 01
Paste JSON or CSV into the input box.
- 02
The tool detects the format and converts to the other.
- 03
Copy or download the converted result.
Details
- Category
- Developer & data
- Runs
- In your browser
- Files uploaded
- No
- Cost per run
- Free
- Sign-in
- Not required
- Works offline
- Yes, once loaded
Last updated 2026-08-12
Common questions
Does it handle nested JSON objects?
Top-level fields convert cleanly to columns. Deeply nested objects or arrays inside fields are serialized as text in the cell.
What happens to commas and quotes in values?
They're automatically escaped and quoted per CSV rules, so values with embedded commas or newlines round-trip correctly.
Does the JSON need to be an array?
CSV conversion works best on a JSON array of objects, where each object becomes one row.
Is my data uploaded?
No - conversion runs entirely in your browser.
Use this from your code
This tool is also a REST endpoint, so you can run it in a pipeline instead of by hand. It is free and needs no API key. See the API reference for every parameter.
curl -X POST https://fileoven.com/api/v1/tools/json-csv \
-H "Content-Type: application/json" \
-d '{"direction":"json2csv","data":[{"name":"Ada","qty":2}]}'