1. Home
  2. Code
  3. JSON to CSV

JSON to CSV

Convert a JSON array of objects to CSV in your browser, ready for Excel or Google Sheets.

Runs in your browser Free, no sign-up

Columns and nested values

Every key that appears in any object becomes a column, in the order it is first seen. Nested objects and arrays are written as JSON inside their cell. A field that contains the separator, a quote or a line break is wrapped in quotes. The downloaded file starts with a UTF-8 byte order mark so Excel shows ç, ğ and ş correctly.