Skip to content

JSON to CSV

A JSON to CSV converter turns an array of objects (or one object) into a delimited table, and toggles CSV back to JSON on this same URL. This one runs in your browser with FileReader — nothing is uploaded or written to localStorage. Nested keys can flatten to dotted columns. It is a convenience converter, not a database importer.

Paste or drop a .json or .csv file, pick comma, tab, or semicolon, and convert in this tab. Closing the tab drops the buffer. Quoting, encodings, and multi-megabyte files can still need a local CLI or spreadsheet.

India-first examples use city names and rupee amounts; the same URL works globally. There is no /in/ prefix and no second URL for csv-to-json.

Converter

JSON → CSV

Paste an array of objects or one object. Drop a .json file — it stays in this tab.

Optional .json or .csv drop. Read with FileReader in this tab — never uploaded.

Output

How does the JSON to CSV work?

  1. 1. Paste or drop a file

    JSON array of objects (or one object) for JSON → CSV; a delimited table for CSV → JSON. The file stays in this tab.

  2. 2. Choose direction and delimiter

    Comma is the default. Tab and semicolon are for TSV and EU-style CSV.

  3. 3. Convert locally

    Nested keys can be flattened to dotted column names. Invalid JSON or ragged CSV gets an in-page error; nothing is sent to a server.

  4. 4. Copy or download

    .csv or .json. Closing the tab drops the buffer.

Questions about JSON to CSV

Does JSON to CSV upload my file?
No. Parsing and conversion run in your browser. There is no account and no server-side converter. Dropped files are read with FileReader in this tab; we do not upload them to Page Utils. Closing the tab drops the buffer.
What JSON shapes work?
An array of objects, or a single object treated as one row. Nested objects can be flattened to dotted keys such as address.city. Arrays of primitives become a single column. Conversion stays in this tab and does not upload the payload. Empty objects do not invent extra columns.
Can I convert CSV back to JSON?
Yes. Switch the direction to CSV to JSON on this same URL — there is no second csv-to-json path. With header row on, the first line becomes object keys. Parsing stays in the browser; nothing is uploaded. Ragged rows get an in-page error.
Will this replace a database import tool?
No. It is a convenience converter for a table you can see in this tab. Quoting, encodings, and multi-megabyte files can still need a local CLI or spreadsheet. It will not talk to a database, validate a schema, or merge PDFs.
Is there a merge-PDF or file-join tool here?
No. This page only converts JSON and CSV. Unshipped converters are listed on the file-conversion hub when they go live, not as 404s.

These tools run in your browser. Page Utils does not store, upload, or write to localStorage the keys, tokens, or text you paste. Results are a convenience aid, not legal, tax, or security advice.