Export flat JSON records while keeping a clear type policy
Start with a table-shaped value
This page converts a nonempty JSON array of flat records into comma-separated text. Each record must have the same keys, and the default mode requires string-valued cells. Paste a synthetic record array, confirm the CSV output-values mode and convert. The result has a header row followed by one row per record. It is not an automatic flattening operation for arbitrary nested JSON documents.
The default strings-only mode is useful when identifiers, labels and other textual values must remain cell text. An identifier such as 007 belongs in a quoted JSON string if those leading zeros are meaningful. A JSON number has a different type and cannot preserve a leading-zero spelling in the same way. Define the source data model before choosing how it should appear in a table.
The offered scalar mode can explicitly convert finite safe numbers and booleans into cell text. That is a lossy type choice, not a promise that reimporting the CSV will recover numeric and boolean JSON values. CSV cells do not carry the original JSON type information. The reverse CSV importer keeps cells as strings, so record this mode whenever a reproducible round trip matters.
Null, nested objects and arrays are not silently squeezed into cells. Likewise, records with different keys do not acquire invented empty values automatically. Reshape a source deliberately outside this tool if it is not table-shaped. The converter cannot decide whether a missing property should mean null, an empty string, a default value or a separate table relationship.
Follow a quoted-comma record into its row
Checked synthetic input
[{"id":"007","name":"Lin, Mei"}]Exact observed output
id,name
007,"Lin, Mei"Use a synthetic array with one record whose id is the string 007 and whose name is the string Lin, Mei. Run the default strings-only conversion and inspect the exact example below. The output header names the two columns. The identifier remains 007 as cell text, while CSV quoting keeps the comma-containing name together as one field.
The quote characters in the CSV are table syntax, not additional letters in the name. If a cell contains a quote, the writer doubles it within a quoted field. Cells containing line breaks also need quoting. Reading the result with a general comma split would not respect those rules. Use a compatible CSV reader and compare recovered cell values rather than counting visible commas in the file.
Try a separate record containing a numeric quantity and a boolean flag. In strings-only mode it is rejected because those cells are not strings. Selecting the explicit scalar mode converts them to text. That new success does not mean the original types survive. A later CSV-to-JSON import can produce strings containing the numeric or boolean spelling, which are different JSON values from the original number and flag.
Keep the mode and source type with the exported artifact. The educational figure distinguishes the default text-preserving path from explicit scalar conversion. It does not claim that the page validates the semantic meaning of a quantity or decides which columns should be numeric. Those choices belong to the source and destination contracts, not to CSV quoting or the successful generation of a header row.
Respect shape, quoting and finite limits
All records must have an identical set of keys. The writer chooses a header order from the decoded first record and uses that order for later rows. Numeric-looking object names may normalize under JavaScript object enumeration, so original object-member text order is not a universal preservation guarantee. Inspect the actual header before using column positions in another process.
The source must pass the structured-data parser's strict JSON policy. Duplicate decoded keys, unsupported numeric integers and nonfinite numbers are rejected. Do not quote or delete a value merely to force a different type through the converter without checking the intended data model. Conversion is not schema validation, and a successfully exported table can still violate a receiving application's field or business rules.
Input is limited to one hundred thousand UTF-16 code units. JSON parsing has ten-thousand-value and forty-level data limits. Table output also has ten-thousand-field and ten-thousand-data-value limits, with rows included in the latter accounting. Generated output is capped at one million characters. These are implementation boundaries, not a guarantee that every maximum-sized request finishes on every browser or device.
The local file import has its own one-hundred-thousand-byte cap. A selected file still needs valid JSON with the supported array-of-flat-records shape. Browser startup and processing deadlines also apply. Cancellation or a failed operation is not a completed table. Editing the source or relevant options invalidates the prior result, preventing an old export from being mistaken for the new request.
Optional local drafts use explicit plaintext browser storage. Avoid secrets and shared-device drafts, and do not assume Reset deletes a saved draft. Copy and Download output transfer the current CSV result rather than the original JSON and every setting. Save those details separately when the export must be reproducible. This practical handling advice does not replace the website's actual privacy disclosures.
Review the receiving spreadsheet or import process
One practical workflow is exporting a small catalog whose identifiers and names are already textual. Confirm the field names, number of records and quoting with a harmless fixture before replacing another file. The converter does not open a spreadsheet, set its column types or submit an import. A correct CSV file can still be interpreted differently by a receiving program's automatic type detection.
Formula-like cell prefixes deserve separate attention. A spreadsheet may interpret text beginning with characters such as an equals sign as a formula, and ordinary CSV quoting does not guarantee that it becomes harmless text. The writer preserves data rather than claiming to sanitize it. Import untrusted content using the receiving program's text-handling controls and review its own behavior before relying on the result.
Another useful task is checking a proposed JSON-to-table mapping. A rejected nested value or inconsistent key set identifies a shape decision that still needs to be made. Do not treat that rejection as a request to discard information automatically. Decide whether the source needs separate tables or an explicit textual representation, and retain enough context to explain any intentional loss before returning to a flat conversion.
For a reverse check, reimport a synthetic CSV result and compare cell text while keeping type loss explicit. Leading-zero identifiers can remain strings, but scalar-mode numbers and booleans do not recover their original types automatically. Verify actual delivered bytes and distinguish formatting changes from value changes. A good handoff names the mode, source shape, reviewed header and downstream checks that remain unresolved.
Format reference (local parser policies are described separately): CSV format reference (local policies differ).