JSON to CSV Converter

Convert a JSON array of objects to CSV in your browser. Object keys become the header row. Handles nested values by stringifying. No server upload.

JSON to CSV Converter tool

How to use

  1. Paste JSON array

    Paste a JSON array of objects. Each object becomes one row.

  2. View CSV

    The first object's keys form the header; values are escaped for CSV.

  3. Copy CSV

    Use Copy to copy the CSV output.

Examples

  • Array to CSV

    Two objects with same keys.

    Input
    [{"name":"Alice","age":30},{"name":"Bob","age":25}]
    Output
    name,age
    Alice,30
    Bob,25

Frequently asked questions

What if objects have different keys?
Keys from the first object are used. Missing keys in later objects become empty cells.
Are commas in values escaped?
Yes. Values containing commas or quotes are wrapped in quotes and internal quotes escaped.

You might find these useful too.