Cookies This site keeps only what it needs to work. There is no analytics and no advertising on it today, and nothing here follows you to other sites. Read the privacy policy

Choose what to allow
+92 312 8299940Free Quote
EN – Language: English
Free tool, no account needed

JSON to CSV Converter
Clean Tables From Messy Data

Paste data into this JSON to CSV converter and get a tidy spreadsheet table back. It flattens nested objects, keeps long IDs exact and lists every change.

  • FreePrice
  • CSV, ExcelOutput
  • NoneSign-up
  • In your browserRuns

JSON to CSV Converter

Converted in your browser, with every issue listed

Records
0
Columns
0
Size
0 B

Ready. Paste your data, open a file or try the sample.

Going the other way? Convert CSV to JSON

Your browser does all of the work here, in this tab. We upload nothing, store nothing and log nothing.
Add a link to this tool on your own site

Copy the code below and drop it into your page. It places a link to this free tool.

The short version

Jobs This JSON to CSV Converter Handles for You

This JSON to CSV converter will convert the data given by an application or an API into rows and columns which can then be opened in a spreadsheet. To use the tool simply paste the JSON, and the table will appear next to it. Since the entire conversion is handled on your computer by your browser, no data is ever uploaded.

JSON is ideal for programmatically handling data. JSON supports nesting of objects and records with varying fields. Spreadsheets on the other hand need a single flat grid. Thus the true task isn’t the formatting change itself. Rather the true task is determining how to handle the nested objects, lists, and missing fields; and subsequently providing feedback to the user on how those decisions were made.

The checks table at the end of each conversion allows for a list of all records found, all objects flattened, all empty cells, and anything that may cause problems. This gives you an assurance of the accuracy of your file before sending it to anyone else.

How Denwix Turns Nested JSON Into Dotted Column Names

Each of the cells within a spreadsheet is capable of storing only a single value. So, when a cell contains an address object, the conversion process will give each part of that object with its own column (e.g., address.city, address.country etc.). The use of dotted name notation gives clear evidence as to which column each value originates from.

Diagram of a nested JSON order turned into CSV columns, with the address split into address.city and address.country
A nested address becomes two dotted columns, and a list becomes one joined cell.

Lists are different than tables. A list of tags or item names can go in one cell, split by semicolons. If you prefer to store the list as a JSON string, then turn this feature off. Regardless of which method you choose, no data will be lost.

Turn JSON Into CSV and Keep Every Field

The built-in parser used by many converters to parse JSON will round large numbers. If an order ID is represented by the number 12345678901234567890, the parser will return it as 12345678901234567000. Here are two entirely different orders. This tool preserves each number exactly as entered in order for IDs and account numbers to remain intact.

JSON to CSV converter after converting three orders, with the checks table listing flattened objects and gaps
Every conversion ends with a checks table, so you can see what changed and why.

Records seldom correspond exactly. For instance, if one of your customers has a phone number and another doesn’t; the converter gathers all of the fields it comes across, in the same sequence as they appear in each of your files. When a record does not contain a specific field, the converter creates an empty cell. The check table will then count how many of these empty cells exist.

How the Converter Finds Your Records

API responses typically include the list of items you are interested in as a sub-object within a larger object. Examples of this include { "data": [... ] } and { "results": [... ] }. If there is only one list of objects within the larger object, the converter will use that list and indicate that it did. An individual object represents a single row, and a multi-dimensional array of arrays translates directly into multiple rows.

JSON to CSV converter error naming the exact line and column of a missing comma, with the Show me where button
Errors within the JSON are displayed with both the line and column where they occurred, allowing for direct navigation to the error location in just one click.

The rules for JSON are found in RFC 8259. When the user finds an error (e.g., trailing commas, missing quotes), the system finds the line and column number where the error occurred, and gives a link to that specific location.

JSON to Excel Without Broken Characters

Excel can be very particular about text files. If you do not have a Byte Order Mark at the top of your CSV (comma-separated values) file, Excel may assume that you are using an incorrect encoding. This will result in gibberish when attempting to read names like "Zoë" or "Karachi" in Urdu script. When downloading as an "Excel-ready" download, the Byte Order Mark is included and your file will open correctly with a simple double click.

JSON to CSV converter set to semicolon delimiter with Excel-ready download ticked, showing semicolon-separated CSV output
Semicolon columns and the Excel-ready marker, for spreadsheets that expect them.

There are also other options for the separator such as semicolons and tabs. Many countries around the world use commas as the decimal separator and so, the versions of Excel used by people in those countries will use semicolons to separate columns. Select either semicolon, tab or pipe and the preview will update right away.

Protection Against Spreadsheet Formulas

A cell that starts with =, +, - or @ can run as a formula when the file opens. Attackers hide commands this way, and OWASP calls it CSV injection. When the formula guard is on, those cells start with an apostrophe so they open as plain text. Negative numbers are left alone, and the checks table lists every cell it changed.

Copes With Quotes, Commas And Line Breaks

CSV has a single constraint which causes issues with user-generated files: the data values containing the delimiter, quotation marks, or line breaks must be enclosed within double quotation marks. Also, any double quotation marks contained within the data values must be duplicated. The converter adheres to RFC 4180 in every way, so, names like Sara "Sam" Malik, as well as addresses that contain commas will survive the process.

Before you move the file to a location where it will be used, you may want to compare the current export with a previous export. The diff checker displays all changes that have occurred since the last export in a side-by-side view.

Who Needs JSON Data in a Spreadsheet, and Why

Many people that have never written a line of code will find themselves receiving JSON. An example would be when a shop owner exports their orders from a store plugin. Another example is when a marketer downloads leads from a form service. Also, a support lead may pull tickets from a help desk. In all these cases, the data is received as messy JSON; but the data must reside within a clean sheet.

As with developers, they also use CSVs. For example, if you want to quickly see what was in an API response, you can do this with a CSV. You can also sort the data in a CSV, or even give it to another developer to look at. On the other hand, analysts will put the CSV into either Google Sheets or a database importing tool. The process is always the same for everyone; paste the data, read over the checks, and then download the file.

Video guide

Watch the JSON to CSV Converter in Use

This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.

How it works

Four Steps From JSON to a Clean CSV

The whole job takes less than a minute, even for a large file.

  • Add your JSON

    Paste your.json file into the left-hand text field, drop a.json file into the same area, or search for a.json file. Clicking the "Sample" button will load three sample orders.

  • Choose the shape

    Flattening should be enabled for all nested objects, then select the delimiter that will work best in your spreadsheet.

  • Read the checks

    The record of all data (records, blank cells) that were protected by or altered by the tool are displayed in a table below the tool.

  • Copy or download

    Save the file as "data.csv" or copy the CSV. If you are going to put the file into Excel, check "Excel-Ready" first.

Why this one

Where This Denwix Converter Goes Further

While most tools simply alter the format of the data, this tool also gives feedback about how that alteration affected the data.

  • Long numbers stay exact

    IDs longer than 15 digits are copied as written, never rounded by the browser.

  • Nested data flattened clearly

    Dotted column names show where every value lived in the original JSON.

  • A checks table, not a guess

    Records, gaps, lists and guarded cells are counted and explained in plain words.

  • Formula guard built in

    Cells that a spreadsheet would run as a formula open as harmless text instead.

  • Excel-ready in one tick

    The download carries the marker Excel needs to read accents and other scripts correctly.

  • Private by design

    The converting happens in your tab, so customer data never touches a server.

Good habits

Rules for Clean CSV Files

Eight habits that keep a CSV easy to open, import and trust.

  • Stick to a single record on each row. Each row should describe one thing, such as one order or one customer, so filters and totals work.
  • Name each column differently. Two columns called name confuse every import tool. Therefore the converter renames repeats for you.
  • Use the delimiter your audience expects. Comma is the standard, but many European spreadsheets expect a semicolon.
  • Save as UTF-8. It is the only encoding that holds every script. Add the byte order mark when the file is going into Excel.
  • Keep IDs as text. Spreadsheets round long numbers and drop leading zeros, so format ID columns as text after you open the file.
  • Use one date style, such as 2026-09-28, in every row. ISO dates such as 2026-09-27 sort correctly and never get confused between countries.
  • Leave the formula guard on. Data from forms and APIs can contain text that runs as a formula. The guard costs nothing.
  • Check the row count. Compare the records in the checks table with the number you expected before you share the file.
Worth avoiding

Six Mistakes When Turning JSON Into CSV

Each one looks fine on screen and causes trouble the moment someone imports the file.

  • Losing nested fields

    Some tools write [object Object] into a cell. Flattening keeps every value readable instead.

  • Rounded IDs

    A 19-digit ID rounded by the browser points to the wrong record forever.

  • Unquoted commas

    An address with a comma, left unquoted, splits into two columns and shifts the whole row.

  • Garbled accents in Excel

    Without the UTF-8 marker, Excel may misread names in any language other than English.

  • Opening untrusted formulas

    A cell starting with = can run a command. Guard it before anyone opens the file.

  • Ignoring missing fields

    Empty cells are fine, but only if you know they are there. So read the checks before you share.

Questions

Questions About the Denwix JSON to CSV Converter

What are the steps to turn JSON into CSV on Denwix?

Paste JSON into the input panel, and the CSV fills the output panel. After that, copy the converted data or save it as a file. Nothing needs installing.

Will Excel open the CSV this converter makes?

Yes. Tick Excel-ready download before you download, and the file opens in Excel with accents and other scripts intact.

Where do nested objects go in the CSV?

Each nested value gets its own column with a dotted name, such as address.city. Turn flattening off to keep the object as JSON text instead.

Where do nested arrays go in the CSV output?

A list of plain values is joined with a semicolon in one cell. A list of objects lands in its cell as a string of JSON.

Why do a few CSV cells come out blank?

Because some records do not have every field. The converter keeps every column and leaves a gap where a record has no value. The checks table counts those gaps.

Are long numbers kept exactly as they are?

Yes. Numbers are copied as the exact text you pasted, so an ID with 20 digits is never rounded.

Why did a cell get an apostrophe in front?

It started with =, +, - or @, which a spreadsheet would treat as a formula. That leading apostrophe turns it into plain text. Turn the formula guard off if you really want formulas.

The converter says my JSON is broken. Where does the Denwix converter show the faulty spot?

The message tells you which line broke, and at which column. Press Show me where, and the cursor jumps to that spot in your JSON.

What is the largest file it can convert?

Even files several megabytes in size convert almost at once. Very large input converts when you press the button rather than on every key.

Does any of my data leave this Denwix tool?

No. Your browser handles the whole conversion, which keeps the data on your own computer.

More free tools

Denwix Tools for Data Files

Converting is one step. These help before it and after it.

Ready to Turn Your JSON Into a Table?

Paste your data and the CSV appears in a moment. This JSON to CSV converter costs nothing, needs no login and keeps all data local.

Prefer Denwix on GoogleReview Denwix on Google