CSV parsing respects quotes, escapes, and the detected delimiter. JSON → CSV builds columns from object keys.
JSON ↔ CSV Converter
Converts flat JSON object arrays to CSV and CSV tables to JSON, including standard quote and comma escaping. Nested objects should be flattened first.
What does this tool do?
Convert flat object arrays and CSV tables locally.
Paste a JSON array or table directly. Commas, semicolons and tab-separated columns copied from a spreadsheet are detected.
Your result will appear here.
JSON ↔ CSV Converter: method and usage
Converts flat JSON object arrays to CSV and CSV tables to JSON, including standard quote and comma escaping. Nested objects should be flattened first.
CSV input needs a header and equal-width records; JSON input must be a nonempty array of flat objects. Confirm the shape first with a small example containing no personal data.
CSV → JSON preserves cells as strings. JSON → CSV produces a flat table; record and column counts are displayed.
Practical steps
- Enter a JSON array or CSV table.
- Choose the source format.
- Convert and verify the result with sample rows.
The identifier 007 and the quoted A,B cell must be preserved. Compare record counts excluding the header and check column mapping.
Flatten nested objects first. The limit is 10,000 records; JSON → CSV requires 1–500 columns. Formula-like cells receive protection.
Suitable use cases
- Spreadsheet transfer
- Quick data exchange
- Simple report conversion
CSV: a comma is not always a new column
Choose CSV → JSON. This sample has two columns and one data record. The quoted comma belongs to note; splitting on every comma would invent a third column. The converter preserves cells as strings, so id stays "007". Count records without the header and check that each record has the same two keys. Numeric interpretation should be an explicit downstream decision.
id,note
007,"A,B"[
{
"id": "007",
"note": "A,B"
}
]Input that should fail
id,note
007,A,BRemoving the quotes creates three fields under a two-field header, so conversion must stop. In the reverse direction, nested JSON objects cannot become flat CSV automatically: decide the column mapping first. Formula-like cells may receive a protective apostrophe on export. Check both the raw CSV and the cell after importing into a spreadsheet; a successful conversion alone does not prove the receiving program interpreted it correctly.
Worked decision record
Move a three-row product list into a spreadsheet and convert it back to JSON without silent loss.
Use a flat object array containing one name with a comma and quote, one empty cell, and a stock value of `0`.
The CSV header count matches the source fields, the special-character cell is quoted, and the round trip preserves row and field counts.
If nested objects, arrays, or value types must survive, do not use flat CSV as the final format; define a flattening contract first.
Guides for this tool
Safe In-Browser Handoffs Between JSON, CSV, and Base64
Build reusable flows that reduce copy-paste while preserving data-type, encoding, and error boundaries.
Read guide →From CSV to Safer JSON: A GDPR/KVKK Masking Pipeline
Manage sensitive-field discovery, checksums, false-positive review, and safer export in one data flow.
Read guide →Frequently asked questions
What input does JSON ↔ CSV Converter accept?+
CSV input needs a header and equal-width records; JSON input must be a nonempty array of flat objects. Use a flat object array containing one name with a comma and quote, one empty cell, and a stock value of `0`.
What does JSON ↔ CSV Converter return?+
CSV → JSON preserves cells as strings. JSON → CSV produces a flat table; record and column counts are displayed. The CSV header count matches the source fields, the special-character cell is quoted, and the round trip preserves row and field counts.
How should I validate JSON ↔ CSV Converter output?+
The identifier 007 and the quoted A,B cell must be preserved. Compare record counts excluding the header and check column mapping. If nested objects, arrays, or value types must survive, do not use flat CSV as the final format; define a flattening contract first.
Does JSON ↔ CSV Converter send or store input on a server?+
Tool input is processed in the active tab. Saving to the Workstation or transferring to another tool is a separate choice. Consider browser extensions and shared devices separately; the privacy page explains advertising and network connections.