JSON to CSV Converter

Turn a JSON array into CSV and download it — automatic columns, nested-key flattening, pick your delimiter.

Stays on your device. This tool runs in your browser — nothing you paste or open ever leaves it. Nothing uploaded, nothing to leak.

JSON (array of objects)
CSV

        
Run the tool first — there’s no result to send yet.

How to convert JSON to CSV

Paste a JSON array of objects (for example, rows exported from an API or database). The CSV appears instantly — the header row is built from every key found across your objects, nested objects are flattened into dotted columns like address.city, and missing values are left blank. Copy it or download the .csv.

JSON to CSV — TechWhack Score

9.8/10
  • Privacy 10/10

    Your JSON is converted in the browser and never uploaded.

  • Speed 10/10

    Produces the CSV instantly.

  • Features 9/10

    Works out the columns from your data, flattens nested objects into dotted keys, escapes values correctly, and lets you switch the delimiter to a semicolon or tab.

  • Free 10/10

    No sign-up and no file-size cap, unlike the metered converters.

Verdict: Flattens nested JSON into clean spreadsheet columns locally — no upload, and no 1 MB free-tier cap.

Help us improve Was this tool useful? Tap a star. Thanks — your rating helps others find it.
Be the first to rate
Embed this tool on your site
<iframe src="https://techwhack.com/tools/dev/json-to-csv/embed" width="100%" height="440" frameborder="0" loading="lazy"></iframe> <!-- Powered by TechWhack -->
A JSON to CSV converter turns an array of JSON objects into comma-separated rows you can open in a spreadsheet. TechWhack works out the columns from your data (flattening nested objects into dotted keys), escapes values correctly, lets you switch the delimiter to a semicolon or tab, and downloads the file — all in your browser, so your data is never uploaded.

Nested objects and arrays

Real JSON is rarely flat. TechWhack flattens nested objects into dot-notation columns so nothing is lost, and serializes arrays into a single cell. That keeps every row aligned to a clean, spreadsheet-friendly header instead of breaking when one object has extra fields.

FAQ

How does it handle nested objects when converting JSON to CSV?Nested objects are flattened into dot-notation columns, so a field like contact.email becomes its own column header. This turns a hierarchical structure into the flat rows and columns a spreadsheet expects.
What happens to arrays inside my JSON?An array within a record is serialized into a single cell rather than exploded into many rows, keeping one row per object. That avoids row multiplication and keeps the output predictable for spreadsheet import.
Why are my columns different when records have different fields?Columns are collected from all keys across every object, so a field present in only some records still gets a column, with empty cells where it is missing. That way no data is dropped just because records vary.
Can I change the delimiter for Excel in other regions?Yes. You can switch between comma, semicolon, and tab delimiters, which matters because some European Excel locales expect a semicolon. Pick the delimiter your spreadsheet program expects to avoid everything landing in one column.
Is my JSON uploaded during conversion?No. The conversion runs in your browser, so the data never leaves your device. You can convert API responses containing sensitive fields without transmitting them.