CSV / JSON Converter

Convert CSV to JSON or JSON arrays to CSV while keeping the source in view.

Options

JSON to CSV: Supports arrays of objects. Nested objects will be flattened with dot notation (e.g., user.name).

Ways to use CSV / JSON Converter

Move tabular data between CSV and JSON

Convert a CSV table to a JSON array or a JSON array of objects to CSV, with the original input kept beside the result.

Turn CSV rows into JSON

Convert labelled spreadsheet-style rows into a JSON array with inferred scalar values.

Export JSON as CSV

Flatten an array of JSON objects into delimited rows for a spreadsheet or another tabular tool.

Review converted JSON

Send a successful CSV-to-JSON result to JSON Wizard for formatting, searching, or closer inspection.

How to use it

  1. Paste CSV or JSON into Input and check the displayed conversion direction.
  2. Choose the delimiter and whether the CSV has or should include headers.
  3. Review Output, then copy it or continue a JSON result in JSON Wizard.

How conversion is interpreted

Conversion direction
Input beginning with { or [ is treated as JSON. Other valid JSON is also recognized; the rest is treated as CSV using your selected options.
Delimiters
Choose comma, semicolon, tab, or pipe-separated CSV.
Headers and values
Headers can become JSON property names, and CSV values can be inferred as numbers, booleans, null, or strings.
Nested objects
JSON objects are flattened to dotted columns; dotted CSV headers can create nested JSON objects.

Example

JSON

[{"name":"Alpha Example","count":2}]

CSV

name,count Alpha Example,2

Good to know

  • Check the shown direction before using the result because input not recognized as JSON is treated as CSV.
  • Type inference and dotted paths can change the representation, so keep the source and review converted values.
  • Quoted delimiters and quotes are supported, but quoted fields containing line breaks are not.