JSON CSV Markdown Table Converter and Validator
Convert JSON to CSV, CSV to JSON, and either one to a GitHub-style Markdown table. Flattens nested JSON into dot-notation columns and validates JSON or CSV with line-level error messages.
Run it on Apify · Source on GitHub
Pricing
US$0.0015 per conversion or validation. Billed per use through your Apify account; new accounts get free monthly credit.
Example
Input:
{
"data": "[{\"name\":\"Alice\",\"age\":30},{\"name\":\"Bob\",\"age\":25}]",
"outputFormat": "csv"
}
Output:
{
"inputFormat": "json",
"outputFormat": "csv",
"valid": true,
"rowCount": 2,
"columns": [
"name",
"age"
],
"error": "",
"output": "name,age\nAlice,30\nBob,25"
}
Use it from code (API)
curl -X POST "https://api.apify.com/v2/acts/sDCn2i0paKV2SdwfC/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"data":"[{\"name\":\"Alice\",\"age\":30},{\"name\":\"Bob\",\"age\":25}]","outputFormat":"csv"}'