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.
| Result | Check | Details |
|---|
Going the other way? Convert CSV to JSON
Jobs This JSON to CSV Converter Handles for You
This JSON to CSV converter turns the data an app or an API gives you into rows and columns a spreadsheet can open. Paste the JSON, and the table appears beside it. There is no upload, because your browser does all the work.
JSON is great for programs. It nests things inside other things, and it lets each record carry different fields. A spreadsheet, however, wants one flat grid. So the real job is not the format change itself. The real job is deciding what to do with nested objects, lists and missing fields, and then telling you what was decided.
That is why every conversion ends with a checks table. It names the records it found, the objects it flattened, the cells it left empty and anything that looked risky. As a result, you know the file is right before you send it to anyone.
How Denwix Turns Nested JSON Into Dotted Column Names
Each spreadsheet cell can store only a single value. So when a record has an address object inside it, the converter gives each part its own column: address.city, address.country and so on. The dotted names show exactly where each value came from.
Lists work differently. A list of tags or item names goes into one cell, joined with a semicolon. If you would rather keep the list as JSON text, switch the option off. Either way, nothing is dropped.
Turn JSON Into CSV and Keep Every Field
Many converters read JSON with the browser’s built-in parser, and that parser rounds long numbers. An order ID such as 12345678901234567890 comes back as 12345678901234567000, which is a different order. This tool reads every number as the exact text you pasted, so IDs and account numbers stay whole.

Records rarely match perfectly, either. One customer has a phone number, and the next one does not. The converter collects every field it meets, in the order it meets them, and leaves a cell empty where a record has no value. The checks table then counts those empty cells for you.
How the Converter Finds Your Records
API responses often wrap the list you want inside another object, for example { "data": [ ... ] } or { "results": [ ... ] }. When there is exactly one list of objects inside, the converter uses it and says so. One object gives you one row, while an array of arrays maps straight onto rows.

The rules for JSON itself live in RFC 8259. If the reader finds a mistake, such as a trailing comma or a missing quote, it names the line and column. Then a button takes you straight to the spot.
JSON to Excel Without Broken Characters
Excel is picky about text files. Unless a CSV starts with a small marker called a byte order mark, Excel may guess the wrong encoding. Then names such as Zoë or Karachi in Urdu script turn into gibberish. Tick Excel-ready download, and the file carries that marker, so it opens correctly with a double click.

Semicolons or tabs are available as separators too. Some regions use a comma as the decimal point, so their Excel versions expect semicolons between columns. Pick semicolon, tab or pipe, and the preview updates at once.
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. With the formula guard on, such cells get a leading apostrophe, so they open as plain text. Negative numbers are left alone, and the checks table lists every cell it changed.
Quotes, Commas and Line Breaks Handled
CSV has one rule that trips up hand-made files: a value containing the delimiter, a quote or a line break must sit inside double quotes. Furthermore, any quote inside it must be doubled. The converter follows RFC 4180 exactly, so a name such as Sara "Sam" Malik or an address with a comma survives the trip.
Before you import the file somewhere important, you can compare it with an older export. Our diff checker shows every changed line side by side.
Who Needs JSON Data in a Spreadsheet
Plenty of people who never write code still receive JSON. A shop owner exports orders from a store plugin. A marketer downloads leads from a form service. A support lead pulls tickets from a help desk. In each case the data arrives as messy JSON, but the report has to live in a clean sheet.
Developers use it too. For example, a quick CSV makes it easy to check an API response by eye, sort it or hand it to a colleague. Meanwhile, analysts load the file into Google Sheets or a database import screen. The steps stay the same for everyone: paste, read the checks, then download.
Four Steps From JSON to a Clean CSV
The whole job takes less than a minute, even for a large file.
- 1
Add your JSON
Paste it in the left box, drag a .json file onto it, or browse for one. The sample button loads three example orders.
- 2
Choose the shape
Keep flattening on for nested objects. Then pick the delimiter your spreadsheet expects.
- 3
Read the checks
The table under the tool lists records, empty cells and anything it guarded or changed.
- 4
Copy or download
Copy the CSV, or save it as data.csv. Tick Excel-ready first if the file is going into Excel.
Where This Denwix Converter Goes Further
Most tools change the format and stop there. This one tells you what the change did to your 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.
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.
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 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 result 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.
Does it keep long numbers exact?
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. The apostrophe makes it 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.
How big a file can it handle?
Files of several megabytes convert in a moment. 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.
Denwix Tools for Data Files
Converting is one step. These help before and after it.
CSV to JSON Converter
Turn a spreadsheet export back into clean JSON records.
Open tool →JSON Formatter
Validate and tidy JSON, with the exact line of every error.
Open tool →Duplicate Line Remover
Strip repeated rows from a list before you import it.
Open tool →
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.