JSON to CSV Converter

Convert JSON arrays to CSV format instantly

🔒 Secure & Client-Side
AdSense Space (728x90)
0 objects
Must be a JSON array of objects
0 rows
Excel Compatible Google Sheets

📊 Analyzing global sales data?

Save on currency conversion fees when processing international e-commerce data. Wise offers the real exchange rate with transparent fees for multi-currency analytics.

50+ currency accounts
Batch payment processing
Excel/CSV export
Get Wise for Business →

JSON to CSV Conversion Guide

✅ Valid JSON Input Format

[
  {
    "id": 1,
    "name": "Product A",
    "price": 29.99,
    "category": "Electronics"
  },
  {
    "id": 2,
    "name": "Product B",
    "price": 19.99,
    "category": "Books"
  }
]
  • Must be an array of objects (starts with [)
  • All objects should have similar structure
  • Supports nested objects (flattened automatically)

🔄 Conversion Examples

Nested Object:
{"user": {"name": "John", "address": {"city": "NYC"}}}
Becomes:
user.name,user.address.city
John,NYC
Array Values:
{"tags": ["tag1", "tag2", "tag3"]}
Becomes:
tags
"tag1,tag2,tag3"
AdSense Space (728x90)

JSON to CSV Converter FAQ

What JSON structure do I need for CSV conversion?

You need a JSON array containing objects. Each object becomes a row in the CSV, and object properties become columns. Nested objects are automatically flattened (e.g., user.address.city becomes a column). Mixed structures (objects with different properties) will work, but may result in empty cells for missing properties.

How are nested objects and arrays handled?

Nested objects are flattened using dot notation (parent.child). Arrays are converted to comma-separated strings. For example, {"user": {"name": "John", "age": 30}} becomes columns user.name and user.age. {"tags": ["tag1", "tag2"]} becomes a single column with value "tag1,tag2".

Why should I use "Excel-safe encoding"?

Excel-safe encoding ensures proper handling of special characters like commas, quotes, and line breaks within cells. Without it, Excel may misinterpret CSV data. This option wraps all fields in quotes and escapes existing quotes by doubling them (standard CSV format). It also handles international characters and prevents formula injection security risks.

What's the difference between comma and semicolon delimiters?

Comma (,) is the standard CSV delimiter used in English-speaking countries. Semicolon (;) is commonly used in European countries where comma is used as decimal separator (e.g., 29,99 instead of 29.99). Choose semicolon if you're working with European Excel or locale settings that use comma as decimal separator.