Skip to main content
100% private — runs in your browser

JSON to CSV

Convert JSON arrays or objects into CSV with headers and delimiter options.

JSON input

Array of objects or single object

CSV output

2 row(s) · 3 column(s)

How to use JSON to CSV

  1. Paste JSON

    Enter a JSON array of objects (or a single object) into the input.

  2. Choose options

    Select delimiter and whether to include a header row.

  3. Copy or download CSV

    Copy the generated CSV or download it as a .csv file.

Frequently asked questions

What JSON shape works best?

An array of objects with consistent keys produces the cleanest table. A single object is also supported and treated as one row.

How are nested objects handled?

Nested objects are flattened into dot-notation column names. Arrays inside values are serialized to keep the data representable in CSV.

Are my data uploaded?

No. Conversion runs entirely in your browser and nothing is sent to a server.

Can I change the delimiter?

Yes. You can export using comma, semicolon, or tab to match your spreadsheet or import requirements.

Why do I see an error?

The input must be valid JSON. Fix syntax issues (quotes, commas, brackets) and try again.

About JSON to CSV

The JSON to CSV tool converts JSON data into clean, spreadsheet-friendly CSV in your browser. Paste an array of objects (or a single object) and instantly generate rows and columns with an optional header row, configurable delimiter, and automatic flattening of nested fields. Because everything runs locally, you can safely transform API responses, exports, and configuration data without uploading it anywhere. The output is ready to copy or download for use in Excel, Google Sheets, databases, or data pipelines.

Handling objects, arrays, and nested data

CSV is a flat, tabular format, while JSON can be deeply nested. This converter maps top-level array items to rows and object keys to columns, producing a consistent header when enabled. Nested objects are flattened into dot-notation columns so important fields remain accessible, and array values inside fields are serialized to preserve information. This approach works well for typical API payloads and datasets; for highly irregular or deeply complex structures, you may want to pre-shape the JSON before conversion to get the exact columns you need.

Delimiters and spreadsheet compatibility

Different regions and tools prefer different separators. You can choose comma, semicolon, or tab delimiters to match your target application and avoid column parsing issues. Values containing delimiters, quotes, or line breaks are properly escaped according to CSV conventions, helping ensure the file opens correctly in spreadsheet software. Including a header row makes columns self-describing and simplifies downstream imports and analysis.

Private, fast conversion

All parsing and generation happen on your device with immediate feedback, so sensitive business data, logs, or user exports never leave your browser. After conversion you can copy the CSV text or download it as a .csv file. If you need to go the other direction, the CSV to JSON tool can reconstruct structured data, making it easy to move between tabular and JSON-based workflows during development and data processing.

Use JSON to CSV on your site

This tool runs free and private in the browser. Paste it anywhere — blog posts, documentation, team wikis — and your visitors will use it without leaving your site. The embed includes a small "Made with The Tools Today" credit link.

Open the tool page →

Your privacy, your choice

We use cookies to understand how the site is used and to show relevant ads. Every tool on this site runs entirely in your browser, so the files and text you process are never uploaded. Read our privacy policy.