Skip to content
Codesphere
← All tools
</>

JSON ↔ CSV Converter

Flatten JSON into CSV or rebuild simple tables from CSV.

Nested objects flatten to dot-path columns.

JSON input
Converted
name,meta.category,count
CodeSphere,dev,2

About the JSON CSV Converter

Convert JSON arrays, objects, and simple CSV tables without uploading data. Nested JSON objects flatten into dot-path headers, quoted CSV cells are handled correctly, and converted CSV or JSON can be copied or downloaded for spreadsheets and APIs.

How the result is produced

JSON arrays are flattened into dot-path columns and serialized with the selected delimiter; CSV input is parsed with quoted-cell handling and rebuilt into simple records.

Example: An array containing `{"user":{"name":"Asha"},"score":88}` becomes columns such as `user.name` and `score` for spreadsheet export.

Limitations and review notes

CSV is tabular, so nested arrays, mixed record shapes, and repeated keys cannot always round-trip without losing structure. Check delimiters, headers, formulas, and encoding before importing into a business system.

How to use it

  1. 1. Choose JSON to CSV or CSV to JSON.
  2. 2. Select comma, semicolon, or tab as the delimiter.
  3. 3. Paste JSON data or a CSV table with a header row.
  4. 4. Copy or download the converted result.

FAQ

How are nested JSON objects converted to CSV?

Nested object keys become dot-path columns such as user.name or meta.category.

Can I choose the delimiter?

Yes. The converter supports comma, semicolon, and tab-delimited output and input.

Does conversion happen locally?

Yes. JSON parsing, CSV parsing, flattening, copying, and downloading run in your browser after the page loads.

Related tools

View category →

Was this useful?