JSON to CSV Converter

Convert JSON data to CSV format

JSON to CSV Converter

Convert JSON data to CSV format with custom options

Choose a file or drag and drop

Supports JSON and TXT files

Status: Ready | Objects: 0
Rows: 0 | Columns: 0 | Size: 0 bytes

Data Preview:

CSV preview will appear here...

Supported JSON Formats

Array of Objects:
[
  {"name": "John", "age": 30},
  {"name": "Jane", "age": 25}
]
Nested Objects:
[
  {"user": {"name": "John", "id": 1},
   "active": true}
]

Features

  • Convert JSON to CSV format
  • Handle nested JSON objects
  • Multiple delimiter options
  • Excel-compatible output

How to Use

  1. 1. Paste your JSON data
  2. 2. Configure conversion options
  3. 3. View CSV output and preview
  4. 4. Copy or download CSV file

JSON to CSV Converter FAQs

What JSON shape does the converter expect?

An array of objects, where each object becomes one CSV row and each key becomes a column. The column set is the union of all keys across every object, so records with missing fields simply leave those cells empty rather than breaking the table. Upload a .json or .txt file or paste the data directly.

How does the flatten nested objects option work?

When enabled, nested objects are collapsed into single columns using dot notation, so {"user": {"name": "John"}} produces a user.name column, and arrays become one cell with their items joined by commas. It is off by default, in which case a nested object is written as its serialized text representation.

What do the header, quoting, and null options control?

Include column headers writes the key names as the first row. Quote string values wraps string cells in double quotes, while values containing delimiters, quotes, or line breaks are always quoted and internal quotes are doubled regardless of the setting. Convert null to empty string, on by default, leaves null cells blank; turning it off writes the literal text null instead.

When do I need the Excel compatible option?

Check it when the download will be opened directly in Microsoft Excel. It prefixes the file with a UTF-8 byte order mark so Excel decodes the encoding correctly; without it, accented characters and other non-ASCII text can render as mojibake. The comma, semicolon, tab, and pipe delimiter choices also help match your locale's Excel expectations.

Does the conversion of my uploaded JSON involve a server?

No. The file is read locally with the browser FileReader API, conversion and the preview table run in the page, and the CSV download is generated on your device. Your data is not transmitted anywhere.