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.

Updated

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. For the dedicated SEO landing on head keyword csv to json, use /file-conversion/csv-to-json/ — this page still toggles CSV→JSON for convenience.

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 for a quick reverse. The dedicated head-keyword landing is /file-conversion/csv-to-json/. 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.
Which delimiters are supported?
Comma is the default for CSV. Tab makes TSV, and semicolon covers EU-style exports that use comma as a decimal. The delimiter applies to both directions on this same URL. Conversion stays in the browser; nothing is uploaded. Pick the delimiter that matches the file you already have, then convert.
What happens to nested JSON keys?
Nested objects can flatten to dotted column names such as address.city when that option is on. Arrays of primitives land in one column rather than inventing sibling columns for each index. Flattening runs in this tab only — we do not upload the payload or invent a schema. Empty nested objects do not add blank columns.
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.
Will Excel open my CSV with the right characters?
The download is UTF-8. Many Excel builds need Data → From Text/CSV with UTF-8 selected for non-Latin text; a missing BOM can scramble accents if you double-click the file. Conversion still runs only in this browser tab — we do not upload the file or rewrite encodings on a server. If characters look wrong, re-import with UTF-8 rather than pasting through another app.

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.