JSON array to CSV
Input
[{"name":"Ada","city":"Pune"}]Example output
name,city
Ada,PuneConvert a flat JSON array of objects to a CSV table, or a CSV table with headers back to a JSON array, entirely in your browser. Nested objects and arrays are rejected rather than silently flattened, and spreadsheet formula escaping is an opt-in export option that is off by default.
| Supported table shape | JSON to CSV accepts a flat array of objects; nested objects and arrays are rejected |
|---|---|
| Conversion options | Comma, semicolon, tab, or pipe delimiters; optional header row; opt-in formula escaping; opt-in CSV to JSON type parsing |
| Formula protection | Off by default; when enabled, risky cells are modified with a leading apostrophe and a FORMULA_ESCAPED warning is emitted |
| Max input size | 5 MB |
| Execution deadline | 3 s |
| Processing location | Browser-only: pasted input is not uploaded |
Input
[{"name":"Ada","city":"Pune"}]Example output
name,city
Ada,PuneInput
name,city
Ada,"Pune, IN"Example output
[
{
"name": "Ada",
"city": "Pune, IN"
}
]JSON to CSV output separates rows with CRLF (\r\n), following common CSV practice. CSV to JSON accepts LF, CRLF, and CR line breaks.
Objects or arrays inside a row are rejected with an explicit error. Flatten the data before converting instead of expecting automatic flattening.
CSV rows with more or fewer fields than the header row fail with a parse error rather than producing misaligned objects.
CSV input whose header row contains duplicate column names is rejected; headers must be unique.
An empty JSON array converts successfully to an empty CSV document instead of failing.
The header and formula-escaping options have no effect in the CSV to JSON direction, while type parsing has no effect in the JSON to CSV direction.
JSON Formatter
Prettify, indent, and format JSON strings with customizable indentation and key sorting.
JSON Validator
Validate JSON syntax, inspect structure, and diagnose syntax errors with line and column diagnostics.
JSON ↔ YAML Converter
Convert bi-directionally between JSON and YAML with strict alias and cycle protection, custom indentation, and swap support.
Text Diff / Compare
Compare two text files, code snippets, or configuration payloads line-by-line, word-by-word, or as a unified patch.
No. CSV is a flat two-dimensional table format, so rows containing nested objects or arrays are rejected. Flatten the structure first so every value is a string, number, boolean, or null.
Column order follows key appearance, CSV output uses CRLF line endings, and values that look numeric stay strings unless type parsing is enabled. With the header row included, a round trip preserves flat string data but not formatting details; headerless output cannot be parsed back as CSV to JSON.
Fields containing the delimiter, quotes, or line breaks are wrapped in double quotes, with inner quotes doubled. The CSV to JSON direction parses that quoting back into the original values.
By default, no: every CSV cell arrives as a string. Enable the type-parsing option to convert numeric and boolean strings into native JSON types.
Enable formula escaping before converting. Cells starting with =, +, -, or @ get a leading apostrophe so spreadsheet apps do not execute them as formulas. This changes the cell values and is off by default.
No. Conversion runs inside an isolated Web Worker in your browser, and pasted input is not uploaded for processing. The browser still requests site assets from the host; clipboard, downloads, and analytics are separate boundaries.