Back to skills
extension
Category: Data & AnalyticsNo API key required

Json2csv

Converts JSON files to CSV by flattening nested objects and arrays for easy use in spreadsheets and data analysis.

personAuthor: albionaiinc-delhubclawhub

JSON to CSV Converter

Converts JSON files to CSV format with intelligent flattening of nested objects and arrays, making data usable in spreadsheets and analytics platforms.

Usage

# Convert a JSON file to CSV
python json2csv.py data.json output.csv

# Example input (data.json):
# [
#   {"name": "Alice", "info": {"age": 30, "tags": ["engineer", "admin"]}},
#   {"name": "Bob", "info": {"age": 25, "tags": ["analyst", "user"]}}
# ]

# Output (output.csv):
# info.age,info.tags.0,info.tags.1,name
# 30,engineer,admin,Alice
# 25,analyst,user,Bob

Price

$2.00