JSON to CSV converter
Convert a flat JSON object array to CSV or TSV, with explicit rules for empty cells and formula-like text.
Enter data
A nonempty flat JSON object array, delimiter and formula-handling setting. Fields marked with an asterisk are required.
About this tool
Prepare a tabular export from an API response or list of records. Columns use all member names in first-seen order. A semicolon is available for Polish spreadsheet workflows, but import settings depend on the application. Nested data is not flattened and CSV does not retain JSON types. Set identifier columns to text before importing.
How to use the calculator
- Paste a nonempty object array without nested objects or arrays.
- Choose the delimiter your importer expects. Keep formula blocking unless you deliberately need raw text.
- Select “Process”, copy CSV and check column types during import.
Calculation details
Formula and calculation method
Each member becomes a cell. Strings are decoded, number tokens are preserved, and null or missing members become empty cells. Delimiters, quotes and line breaks require quoting; a quote becomes "". Records are joined with CRLF.
Worked example
For [{"id":"001","amount":12.50},{"id":"002","amount":null}] with semicolon, output has header id;amount and records 001;12.50 and 002;. The spelling 12.50 is retained, but CSV carries no type information.
Limitations
- JSON: 50,000 UTF-16 units, 64 container levels and 10,000 values. Duplicate member names and unpaired Unicode surrogates are rejected. No JSON5, comments, JSON Lines or file import.
- CSV/TSV: up to 1,000 data rows, 100 columns and 10,000 data cells. Output up to 500,000 UTF-16 units. These are project caps, not format limits. No delimiter guessing or Excel workbook creation.
- Missing members, null and empty strings are indistinguishable in output. Nested structures and empty column names are rejected; data is not silently discarded.
- Suspicious headers and strings starting with =, +, -, @ or full-width variants, including after whitespace, are blocked. This conservative filter is not a safety guarantee for every spreadsheet. CSV quoting does not neutralize formulas; raw mode does not add apostrophes.
Sources
- IETF RFC 8259 — JSON syntax and interoperability
- IETF RFC 4180 — CSV records, headers and quoting
- OWASP — spreadsheet formulas and CSV Injection risks
Engine version: 1.0.0 · Last reviewed: 2 October 2026
Frequently asked questions
Can nested objects be exported?
No. Prepare a flat table with an explicit mapping. Column paths are not generated automatically.
Does semicolon change decimal points?
No. Numbers retain JSON dot notation. Column delimiter and decimal separator are separate importer settings.
Does CSV preserve JSON types?
No. String "true" and boolean true can produce the same cell. CSV to JSON converts all cells to strings.
Is data uploaded?
Inputs and results are not sent to a server or analytics or saved in the URL or persistent form storage. Reset does not remove previous clipboard copies, printouts or data held by browser extensions. Do not paste secrets.