← Back to examples
CSV ↔ JSON — Examples
API samples, spreadsheet exports, and quick table-to-JSON conversions.
Updated: 2026-05-08
Example 1: Header row CSV → JSON array
Turn a first-row-headers CSV into an array of objects.
Inputs
- customers.csv
Steps
- Upload or paste.
- Check the delimiter.
- Copy JSON output.
Output
[{...}, {...}]
Example 2: JSON list → CSV for Excel
Flatten a small JSON list to edit in a spreadsheet.
Inputs
- list.json
Output
list.csv
Tips
- Quoted fields and odd line breaks are fragile—prefer UTF-8 sources.
- Very large files can exceed browser memory; use CLI tools then.