Tech News, Tech & Coding · Free Online Tools

IT Question Answer
Tools
Developer & Text ToolsFree100% Client-Side

JSON to CSV & CSV to JSON Converter

Convert JSON arrays to CSV and CSV to JSON with quotes, nested objects and custom delimiters handled.

100% privateRuns instantly in-browserUpdated regularly

Advertisement

Runs in your browser

Your input is processed on your device and is not uploaded to our servers.

Fast

No queues and no upload wait, so results appear as soon as you act.

Clean and simple

Dark mode, no popups, and no signup.

What you get

  • JSON to CSV and CSV to JSON
  • Flatten nested objects to dotted columns
  • Comma, semicolon, tab or pipe delimiter
  • Type detection for numbers and booleans
  • Download .csv or .json

What the converter does

JSON is how APIs send data. CSV is how spreadsheets and databases exchange tables. Moving between them by hand is slow and error prone. This tool turns a JSON array of objects into CSV, and a CSV file with a header row into a JSON array. It runs in your browser, so your data is not uploaded.

JSON to CSV

  • Paste a JSON array of objects, or a single object.
  • The column headers are collected from every object, so objects with different keys still line up.
  • Nested objects can be flattened into dotted columns such as address.zip.
  • Arrays inside a record are written as a JSON string in one cell.
  • Pick comma, semicolon, tab or pipe as the delimiter, then copy or download the file.

CSV to JSON

  • The first row is used as the property names.
  • Quoted fields can contain delimiters, quotes and line breaks.
  • Turn on type detection to convert numbers, true, false and null instead of keeping everything as text.

Example

Two records with a nested field:

[{"id":1,"name":"Asha","address":{"zip":"110001"}},{"id":2,"name":"Ravi"}]

→ id,name,address.zip
  1,Asha,110001
  2,Ravi,

Tips

  • Use a semicolon delimiter if your spreadsheet uses a comma as the decimal mark, which is common in parts of Europe.
  • Leading zeros are lost if a value is read as a number. Switch off type detection to keep codes such as 007.
  • Check the headers when different records have different keys. Missing values become empty cells.

Related tools

  • JSON Formatter & Validator: Format, validate, and beautify JSON with clear error messages for developers.
  • Universal Config Converter: Convert between .properties, JSON, and YAML formats instantly. 100% client-side.
  • YAML Validator & Formatter: Validate YAML with line and column errors, reformat it, sort keys and convert between YAML and JSON.
  • Excel to PDF: Convert Excel spreadsheets (.xlsx, .xls, .csv) to PDF in your browser — renders your real data as a gridded table, paginated to fit landscape pages.

Advertisement

Frequently asked questions

Yes. Nested objects can be flattened into dotted column names. Arrays are written as JSON text in a cell.

Comma, semicolon, tab and pipe.

Yes. Fields are quoted and quotes are doubled according to the CSV standard.

Yes, if type detection is on. Turn it off to keep every value as text.

No. The conversion runs in your browser.