Runs locally in your browser
JSON to CSV
Convert a JSON object or array of objects into CSV for spreadsheets. Nested keys flatten with dots, all inside your browser.
Paste records from an API and download a comma-separated sheet. Nested objects become dotted headers like user.email.
Flattening and escaping run in this tab. Spreadsheet data is not uploaded to convert.
How to use
- Paste an object or an array of objects.
- Convert to CSV.
- Copy the table or download a .csv file.
How it works
Arrays of objects become rows. A single object becomes one row. Nested objects flatten. Nested arrays serialize as JSON in the cell.
Fields with commas, quotes, or newlines are wrapped in quotes per CSV rules. Headers are the union of all flattened keys.
Examples
User export
[{id, profile: {email}}] becomes columns id and profile.email for a spreadsheet filter.
Single record
One order object still produces a header row plus a single data row.
FAQ
Can I convert an array of numbers?
No. Each row must be an object. Wrap primitives in objects first.
How are nested arrays handled?
They land in a cell as a JSON string so the grid stays rectangular.
Is the delimiter a semicolon?
No. This exporter uses commas. Open the file with a comma separator in your sheet app.
Does conversion happen on a server?
No. CSV is built in this browser tab.
Related tools
- JSON FormatterPretty-print JSON with a chosen indent so API payloads are readable. Formatting runs in your browser and never leaves this tab.
- JSON ValidatorCheck whether JSON is syntactically valid and see the line and column of the first error. Validation stays in your browser.
- JSON MinifierMinify JSON by stripping extra whitespace to shrink request payloads. Compression of the text happens locally in this tab.
- UUID GeneratorGenerate UUID version 4 values with the Web Crypto API. Create up to 500 identifiers at once, then copy or download the list.
- URL EncoderPercent-encode query values and path segments with encodeURIComponent. Spaces become %20. Encoding stays in your browser.