Conversion Tools100% Client-Side

JSON to CSV Converter for Record Arrays

Paste a JSON array of similar objects to create a CSV table. The first selected object determines the header fields, and each object provides a row in the same column order. Use the result to inspect API records in a spreadsheet or to supply a table-based import. Start with a consistent set of fields and choose individual values for columns that would otherwise contain nested objects or arrays.

Input
82 chars•4 lines
Output

Reverse tool

CSV to JSON

Convert header-based CSV rows to JSON objects. Inspect inferred numbers, booleans, and blank cells, and choose two- or four-space output in your browser.

Open CSV to JSON

How to Use the JSON to CSV Online

  1. 1Paste the record array. If your response contains several arrays, copy the one you want as the input so you can verify which rows are exported.
  2. 2Check that the first object includes every column you need. Then compare the remaining records for missing or differently named keys.
  3. 3Inspect values containing commas or double quotes. The CSV writer quotes those cells where needed so their contents stay together.
  4. 4Copy the output into your CSV workflow, then review the imported column types and row count against the source.

Input & Output Examples

The first object supplies the name and stock headers. Both objects contribute a row.

Input Sample
[{"name":"Tea","stock":4},{"name":"Coffee","stock":7}]
Expected Output
name,stock
Tea,4
Coffee,7

The converter finds the wrapped array and quotes the site value because it contains a comma.

Input Sample
{"records":[{"site":"North, West","enabled":true}]}
Expected Output
site,enabled
"North, West",true

Practical Developer Workflows

  • Export the record array from a small API response so the rows can be sorted or reviewed in a spreadsheet.
  • Build a CSV import fixture from JSON examples already used in a project’s tests.
  • Compare which fields will appear in an export before sharing a table with someone who does not need the full response.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The columns are chosen from the first selected record. A field introduced by a later record may not appear in the table. Include all needed keys in the first object or reshape the records to use a uniform set first.

Explore Other Tools

12 suggested tools

View all tools