Skip to content
JSON to CSV

Guides

Notes on the parts of JSON-to-CSV conversion that are not obvious — nested structures, arrays, ragged records, delimiters, and encodings — written while building the converter.

All posts

  • 7 min read

    How to Convert JSON to CSV in JavaScript and Node.js

    Convert JSON to CSV in the browser or in Node.js — from a five-line snippet for flat arrays to streaming gigabyte files with the Transform API — with working code for nested objects, edge-case quoting, and TypeScript types.

  • 6 min read

    How to Convert JSON to CSV in Python (3 Ways)

    Three approaches to converting JSON to CSV in Python — the stdlib json + csv modules for flat data, pandas for nested objects, and a one-liner for the terminal — with fixes for ragged keys, NDJSON, encodings, and the other gotchas.

  • 7 min read

    How to Convert Nested JSON to CSV Without Losing Data

    Nested objects and arrays are what break a JSON to CSV export. Here are the three flattening strategies that actually work — dot notation, array expansion, and JSON cells — plus how to apply them in the browser, in pandas, and with jq.

Just need the conversion?

Skip the reading and use the JSON to CSV converter — paste your data, pick how nesting should collapse, download the CSV. Nothing is uploaded.