JSON to CSV

Convert a JSON array of objects into a CSV table.

A JSON to CSV converter turns an array of objects into a comma-separated table, using the union of all keys as columns.

How to Use the JSON to CSV

  1. Paste your JSON. Enter an array of objects.
  2. Download the CSV. Copy the CSV or download it as a file.

This tool processes your input locally in your browser. Nothing is uploaded.

What Is JSON to CSV?

Converting JSON to CSV lets you open API data in spreadsheets for analysis, reporting and sharing.

How the conversion works

The tool takes an array of objects, collects the union of all keys as columns, and writes one row per object. Nested objects are JSON-stringified into a single cell.

Key Features

  • Union of keys as columns
  • Proper escaping
  • Download as CSV

Examples

  • An array of user objects becomes a spreadsheet-friendly table.

Common Use Cases

  • Analyzing API data
  • Spreadsheet exports
  • Reporting

Tips & Best Practices

  • Ensure your JSON is an array of objects, not a single object.

Limitations

  • Nested structures are flattened into JSON strings.

Related Tools

Related Articles

Frequently Asked Questions

What format do I need?
A JSON array of objects, e.g. [{"a":1},{"a":2}].
How are nested objects handled?
They are converted to JSON strings in a single cell.
Is it free?
Yes, and it runs locally.

Explore more free tools

Browse Developer Tools tools →