JSON to CSV

Convert JSON to CSV format

About JSON to CSV

JSON to CSV converts a JSON array of objects into CSV text, using the browser's built-in JSON.parse, entirely in your browser — nothing is uploaded to a server. Column headers come only from the first object's keys. Output follows standard CSV quoting: a value containing a comma, double quote, or newline is automatically wrapped in double quotes (with any internal quote doubled), so it stays in a single column when the CSV is reopened. Nested objects or arrays inside a row become the literal text object Object rather than being flattened.

How to use JSON to CSV

  1. 1Paste a JSON array of objects into the input box, e.g. [{"name":"John","age":30}].
  2. 2Click 'Convert' to generate CSV text.
  3. 3Review the result in the output box.
  4. 4Click 'Copy' to copy it to your clipboard.

Frequently Asked Questions

Is JSON to CSV free to use?

Yes, it's completely free with no signup required.

Does it flatten nested JSON into columns?

No — a nested object or array inside a row becomes the literal text "[object Object]" rather than being split into separate columns.

What if my objects have different keys?

Only the first object's keys become CSV columns; other objects' extra keys are ignored, and missing keys show as blank.

Does it handle values that contain commas?

Yes — a value containing a comma, quote, or newline is automatically wrapped in double quotes in the output, so it's read back as a single column.

Tips & Tricks

  • Your JSON must be a top-level array of objects — a single object or a deeply nested structure will show an error.
  • Keep every object in the array with the same set of keys for clean, aligned columns.
  • Values containing a comma, quote, or newline are quoted automatically in the output — no manual cleanup needed for those.
  • For nested JSON, flatten it into simple key-value objects yourself before converting.