Convert JSON to CSV / Excel
Convert JSON (including nested objects and arrays) to flat CSV or Excel. Flattening keys are fully configurable.
**JSON to CSV conversion** is the process of transforming JavaScript Object Notation data into Comma-Separated Values, a flat tabular format defined by RFC 4180. JSON (ECMA-404) is the dominant data interchange format for web APIs and modern applications, but many tools, databases, and spreadsheet applications work best with flat, tabular data. Converting JSON to CSV requires flattening hierarchical objects into rows and columns, which is challenging when dealing with nested arrays, deeply nested objects, and inconsistent schemas. This converter uses dot-notation to flatten nested JSON structures, turning keys like "user.address.city" into individual CSV columns. It handles arrays of objects (the most common API response format), nested objects, and mixed data types. You can toggle automatic type inference, which converts numeric strings to numbers and "true"/"false" strings to booleans in the output. The parser uses PapaParse under the hood, which is RFC 4180 compliant and handles edge cases like quoted fields, escaped commas, and multi-line values correctly. All processing runs in a Web Worker thread in your browser, keeping the interface responsive even with large JSON payloads.
How to use the Convert JSON to CSV tool
- Load your JSON data: Drag and drop your .json file, choose a file from your file explorer, or paste JSON directly into the paste area.
- Configure output settings: Choose a CSV delimiter (comma, semicolon, tab, or pipe) and toggle whether to include a header row.
- Convert to CSV: Click the "Convert Data" button to flatten nested JSON objects into CSV columns using dot-notation keys.
- Export results: Copy the results to your clipboard, download as a local file, or export to Excel format.