Convert a JSON array of objects to CSV, or CSV back to JSON, in your browser. Quoted fields, commas, and line breaks are handled correctly.
Conversion happens in your browser. Customer exports and API payloads are never uploaded.
Quoted fields may contain commas, doubled quotes, and line breaks, and LF and CRLF files both work.
The header is the union of all keys in first-seen order, and missing keys become empty cells.
CSV values stay strings, so ZIP codes keep their leading zeros and true is not turned into a boolean.
When you use JSON ↔ CSV Converter, your data never leaves your browser. All transformations execute in-memory on your local machine with zero server uploads. Web assets are downloaded to run the tool, but your input data is never transmitted.
No. Conversion runs entirely in your browser. Nothing you paste is uploaded or stored. The page does download the code needed to run the tool.
A top-level array of objects whose values are strings, numbers, booleans, or null. Nested objects and arrays are rejected with a clear message instead of being written as [object Object].
CSV has no types, and guessing causes damage: 007 would become 7 and a ZIP code like 02134 would lose its zero. Convert the strings to numbers in your own code where you know the column types.
null and missing keys both become empty cells. A CSV with duplicate column names is rejected, because the later column would silently overwrite the earlier one.
JSON must be an array of objects with string, number, boolean or null values; nested objects and arrays are not supported. Columns are the keys of all objects in first-seen order, and missing keys and null become empty cells. Press Ctrl+Enter (Cmd+Enter on Mac) in the input to convert. Processed locally in your browser.