JSON to CSV Converter
Turn API output or a JSON export into a CSV file that opens cleanly in Excel, Numbers or Google Sheets. Nested objects can be flattened, arrays joined, and cells quoted according to RFC 4180.
—
How it works
- Paste an array of JSON objects, or a single object to convert as one row.
- Choose a delimiter, line endings, flattening depth and array handling.
- Convert, review the row and column count, then copy or download the CSV.
Supported input and limits
| Input | JSON array, Single JSON object, JSON file |
|---|---|
| Output | CSV, UTF-8 BOM option |
| Size limit | Not applicable |
| Offline | Verified after the page and its script are cached |
- Input must be a JSON object or an array of objects.
- Flattening depth is capped at 10 levels.
- Dates remain strings; no timezone conversion is attempted.
Privacy
This tool runs entirely in your browser. Your input is not uploaded, logged or stored by TinkerFern. Read the privacy policy.
Frequently asked questions
How are columns chosen?
The header is the union of all keys in first-seen order. Rows that do not contain a key leave that cell empty, so heterogeneous objects remain aligned.
How are nested objects represented?
By default nested objects are flattened with dot paths such as user.address.city up to the chosen depth. Deeper objects are serialized as JSON in a single cell.
Why does Excel show Vietnamese text incorrectly?
Excel may assume the system code page for a plain CSV. Enable the UTF-8 BOM option to make Excel detect UTF-8, and keep the comma or semicolon delimiter that matches your locale.
What does formula protection do?
Cells beginning with =, +, - or @ can be interpreted as formulas by spreadsheet apps. Protection prefixes them with an apostrophe so they display as text. It is off by default.
Is the JSON uploaded?
No. Parsing and CSV generation happen in this page. The tool does not fetch, store or transmit your data.
Related tools
Continue with a task that often follows this one.
CSV to JSON Converter
Parse CSV with quoted cells and export clean JSON.
JSON Formatter & Validator
Format, minify and validate JSON with precise error locations.
Text Toolkit
Change case, clean up, sort and count lines and characters.
Word Counter & Character Counter
Count words, characters, sentences and reading time as you type.
Read the guide
Background for this task, with the trade-offs explained.
JSON formatting and validation: a practical guide
Understand why JSON fails to parse, how to read line and column errors, and what formatting and minifying actually change.
CSV vs JSON: choosing a format for your data
CSV and JSON solve different problems. Compare types, nesting, size, encoding and conversion pitfalls before exporting data for Excel or an API.