Convert JSON to CSV instantly

Convert JSON arrays to CSV files in your browser. No server upload. Free, private, instant conversion.

Drop your JSON file here

or click to browse

Your files stay private
No server upload
Instant conversion

 

Example

Input (JSON)

[
  { "name": "Alice", "email": "[email protected]" },
  { "name": "Bob", "email": "[email protected]" }
]

Output (CSV)

name,email
Alice,[email protected]
Bob,[email protected]

About this converter

Need to get JSON data into Excel or Google Sheets? This converter takes a JSON array of objects and flattens it into a CSV file with headers. The first object's keys become column headers, and each subsequent object becomes a row. Everything runs in your browser. Your JSON never leaves your machine, which matters when you are working with API responses that contain customer data, financial records, or anything you would rather not paste into a random website.

The converter expects a flat array of objects. Something like [{"name": "Alice"}, {"name": "Bob"}]. If your JSON has nested objects, those get stringified in the CSV cell since CSV is a flat format by nature. For deeply nested structures, you might need to transform the data before converting. Values with commas, quotes, or newlines are properly escaped per RFC 4180, so Excel and Google Sheets will parse the output correctly every time.

This is useful when you pull data from a REST API and need to hand it off to someone who lives in spreadsheets. Product managers, analysts, finance teams, they all want CSV. Instead of writing a Python script with pandas or using json2csv in Node, you can just drop the file here and download the result.

If you need to go the other direction, the CSV to JSON converter does the reverse. Working with XML APIs instead? Try JSON to XML. If your source data is in YAML (common with config files), JSON to YAML or YAML to JSON might be what you need.

JSON vs CSV

JavaScript Object Notation (JSON)

JSON (JavaScript Object Notation) is a lightweight data format that is easy for humans to read and write, and easy for machines to parse and generate.

Common uses: APIs, web applications, and configuration files

ECMA-404 (JSON specification)

Comma-Separated Values (CSV)

CSV (Comma-Separated Values) is a plain-text format for storing tabular data where each line represents a row and values are separated by commas.

Common uses: spreadsheets, databases, and tabular data

RFC 4180 (CSV specification)

How to convert JSON to CSV

  1. 1

    Get your JSON file ready

    Make sure your JSON is an array of objects with consistent keys. The converter uses the keys from the first object as CSV column headers. Nested objects will be stringified into a single cell.

  2. 2

    Load the JSON into the converter

    Drag and drop your .json file onto the converter, or switch to paste mode and paste the JSON directly. The file is read locally in your browser. Nothing is uploaded.

  3. 3

    Check the CSV output

    The converter displays the resulting CSV with headers from your JSON keys. Verify that values with commas or quotes are properly escaped. Each JSON object becomes one row in the CSV.

  4. 4

    Download or copy

    Download the .csv file to open in Excel, Google Sheets, or LibreOffice Calc. You can also copy the output to your clipboard if you need to paste it somewhere.

Frequently Asked Questions

Last updated: 2026-03-23