JSON to CSV Converter — Free, Browser-Based | SmallStudyTools
100% Free · No Signup · Browser-Based

JSON to CSV Converter

Upload a JSON file and get a clean CSV spreadsheet, right in your browser — nothing is uploaded to a server. Pro Mode adds delimiter choice, nested-object flattening, and header row control.

● Pro Version is Free for now
✓ Bulk convert multiple JSON files at once ·
✓ Delimiter, flattening & header row control
Day Night
{ } Upload Your JSON
Drag & drop your JSON here
or click to browse — only .json files are accepted
Browse Files
🎉 Your CSV Output
🔀 Delimiter PRO
🧩 Flatten Nested Objects PRO

On splits nested objects into "parent.child" columns. Off keeps them as a single JSON-text cell.

Flatten nested objects
On by default
📋 Header Row PRO
Include header row
On by default

How to Use the JSON to CSV Converter

From a JSON upload to a clean spreadsheet-ready CSV in seconds. No signup, and your data never leaves your browser.

1
Upload Your JSON
Drag and drop your .json file, or click to browse. Files stay under 30MB and are checked to confirm they're real, valid JSON.
2
CSV Builds Instantly
Every object's keys become columns and its values become a row, built right in the browser.
3
Switch to Pro Mode
Unlock Delimiter choice, Flatten Nested Objects, and the Header Row toggle, plus bulk conversion for up to 20 JSON files at once.
4
Preview the Output
Check the formatted CSV right in the browser, with row and column counts, before you copy or download anything.
5
Copy, Download, or Zip
Copy the CSV straight to your clipboard, save the .csv file on its own, or grab every converted file at once in Pro Mode.

Everything above runs entirely in your browser. Your JSON is never uploaded to a server, so its contents stay completely private from start to finish.

Specifications
Price Free
Signup Not Required
Data Processing Local only, in your browser
File Size Limit 30MB per .json · up to 20 files in Pro
Delimiter Comma by default · Semicolon & Tab in Pro
Found a bug or something not working right? Let us know and we'll fix it, every report helps make this tool better.
Report an Issue

JSON to CSV Converter: Turn API Data Into a Real Spreadsheet

A JSON to CSV converter takes an array of JSON objects and turns it into rows and columns, the format every spreadsheet program actually understands. This tool does the whole job inside your browser tab: upload a JSON file, wait a couple of seconds, and download a clean CSV, free, with no account and no file ever leaving your device.

JSON is how modern applications and APIs talk to each other, but it's not how most people read data. A response pulled from an API, an export from a database, or a config file full of nested objects and arrays is genuinely hard to scan by eye and impossible to sort, filter, or hand to a non-technical colleague as-is. CSV solves that: rows and columns that Excel, Google Sheets, and every reporting tool already know how to open. Converting once turns a wall of braces and brackets into something anyone on a team can actually work with.

Every converter on SmallStudyTools is tested with real files before it ships. This tool parses your JSON with the browser's own strict parser, so a file with a syntax error is rejected with a clear message rather than silently producing a broken CSV, and it correctly quotes any CSV field whose value contains a comma, quote, or line break.

1How This JSON to CSV Converter Works

The tool reads your file, parses it as JSON, and normalizes it into a list of records: an array of objects is used as-is, and a single JSON object is treated as one record. It then collects every key that appears across all of those records to build the full column set, so objects with slightly different shapes don't break the output, before writing each record out as a properly quoted CSV row.

2Simple vs Pro Mode

FeatureSimple ModePro Mode (Free)
Convert one JSON file into CSV✓✓
Auto-quoted fields, consistent column set✓✓
Copy or download the result✓✓
Delimiter — Comma, Semicolon, or Tab—✓
Flatten Nested Objects into "parent.child" columns—✓
Toggle the header row on or off—✓
Convert up to 20 JSON files at once, download as ZIP—✓

Simple Mode covers the everyday case: upload one JSON file and get back a clean, comma-separated CSV with a header row and nested objects already flattened, ready to open immediately. Pro Mode, currently free to use, hands over the delimiter, the flattening behavior, and the header row, plus bulk conversion for anyone processing a whole folder of exports at once.

3Flattening Nested Objects, Explained

JSON supports nesting objects inside other objects, which CSV has no native way to represent, since a spreadsheet cell can only hold one flat value. Flatten Nested Objects, on by default, solves this by turning a nested object like {"address":{"city":"Lahore","zip":"54000"}} into two separate columns, address.city and address.zip, so the data stays fully usable in a spreadsheet instead of collapsing into an unreadable blob of text. Turning flattening off keeps each nested object as a single JSON-text cell instead, which is occasionally useful if a downstream tool expects to re-parse that value as JSON later. A nested array is always written out as JSON text within its cell, in either mode, since a variable-length list doesn't have a clean columnar shape to flatten into.

4Common Reasons People Convert JSON to CSV

🔌
Turning an API Response Into a Spreadsheet
📊
Building a Report From Exported Data
🗄️
Migrating Records Out of a NoSQL Database
🤝
Sharing Data With a Non-Technical Colleague
📥
Importing Records Into Excel or Google Sheets
🧪
Reviewing Test or Sample API Data by Eye

Most JSON to CSV conversions happen at the point where machine-readable data needs to become human-readable data. A response pulled from a REST API during testing, a config or settings export that needs a quick audit, or a batch of records coming out of a MongoDB-style database on their way into a reporting tool are all common starting points. Since almost every spreadsheet, BI tool, and reporting pipeline can open a CSV without any setup, converting once removes an entire category of "how do I even look at this" friction.

5Handling Inconsistent Keys Across Records

Real-world JSON is rarely perfectly uniform: one record might include a field another one omits entirely. This tool handles that by scanning every object in the file first and building the column set from the full union of keys it finds, rather than just the first record's shape. Any record missing a particular key simply gets an empty cell in that column, so the sheet stays properly aligned, no columns shift out of place, and no data silently disappears because one record happened to be missing a field.

6JSONL and NDJSON Files

A genuinely common point of confusion is JSONL, also called NDJSON, where each line of the file is its own separate JSON object rather than the whole file being one JSON array. Technically that's not valid JSON as a single document, so a file in that shape needs a small fix first: wrap the lines in square brackets and put commas between them to turn it into one proper array, then upload that. If you're generating JSONL output yourself and want it built correctly the first time, this site's CSV to JSON Converter can produce genuine newline-delimited JSON directly from a CSV, in the opposite direction from this tool.

7Choosing a Delimiter

Comma is the standard CSV delimiter and the safe default for opening a file in Excel or Google Sheets almost anywhere. Semicolon is worth switching to if the file is headed for a European locale where Excel treats the comma as a decimal separator instead of a field separator, which otherwise misreads a plain comma-delimited file. Tab-delimited output behaves like a TSV file and is a good choice when a value in the data is likely to contain commas itself, since a tab is far less likely to show up inside ordinary text.

Privacy Note

Every JSON file you convert here is processed entirely inside your own browser tab using JavaScript running on your device. Nothing is uploaded, stored, or transmitted to a server at any point, whether you're in Simple Mode or Pro Mode.

8Frequently Asked Questions

Is there a free way to convert JSON to CSV?
Yes. Upload your JSON above and it converts into a clean, downloadable CSV right in your browser within a couple of seconds. There's no account to create and no limit on how many times you can use it, since the whole conversion happens on your own device.
What does this tool do with nested objects and arrays inside the JSON?
With Flatten Nested Objects on, the default in Pro Mode, a nested object like {"address":{"city":"Lahore"}} becomes its own column named address.city, so the data stays fully readable in a spreadsheet instead of collapsing into unreadable text. Turning it off keeps each nested object as a single JSON-text cell instead. A nested array is written out as its own JSON-text value within the cell either way, since a spreadsheet column can't hold a variable number of sub-values.
Can I convert a JSONL or NDJSON file with this tool?
Not directly. This tool expects one valid JSON document, either a single array of objects or one object, and a JSONL/NDJSON file is technically many separate JSON values, one per line, which isn't the same thing. The fix is quick: wrap the lines in square brackets and separate them with commas to turn it into one JSON array, then upload that. If you're producing the JSONL yourself, the CSV to JSON Converter on this site can output that exact newline-delimited format in the other direction from a CSV.
Does the converted CSV open correctly in Excel and Google Sheets?
Yes. The output follows standard CSV formatting, comma-separated by default with fields quoted only where needed, so it opens directly in Excel, Google Sheets, Numbers, and any other spreadsheet program without an import wizard or extra cleanup.
What happens if my JSON objects don't all have the same keys?
The converter collects every key that appears across all the objects and uses that full set as the CSV's columns. Any object missing a particular key simply gets an empty cell in that column for its row, so nothing is lost and the sheet stays properly aligned even with inconsistent records.
Can I convert multiple JSON files to CSV at once?
Yes, in Pro Mode. Queue up to 20 JSON files, convert them together with the same delimiter and flattening settings, then download every CSV file at once as a ZIP instead of handling each one separately.

Built on open standards. The source file follows RFC 8259, the JSON data interchange format, and the output follows RFC 4180, the CSV file format.

Lilly
Here to help you find a tool
Search tools Search blogs
Try me to find a tool! 👋