🔄 JSON to CSV Converter

Convert nested JSON to CSV instantly - 100% free & private

📖 How It Works - Cross-Join Expansion

🔹 Input JSON (Nested with Multiple Arrays)
{
  "order_id": "A123",
  "customer": "John",
  "items": [
    {"product": "Laptop", "qty": 1},
    {"product": "Mouse", "qty": 2}
  ],
  "payments": [
    {"method": "Credit Card"},
    {"method": "Gift Card"}
  ]
}
⬇️ Flattens with Cross-Join ⬇️
🔹 Output CSV (2 items × 2 payments = 4 rows)
order_id,customer,items.product,items.qty,payments.method
A123,John,Laptop,1,Credit Card
A123,John,Laptop,1,Gift Card
A123,John,Mouse,2,Credit Card
A123,John,Mouse,2,Gift Card

💡 Key Point: Each item is combined with each payment method (cross-join), creating all possible combinations. Perfect for data analysis!