Tool guide
About this tool.
CSV stores a table as text: one record per line, cells separated by commas and double quotes around cells that contain separators, quotes or line breaks.
JSON → CSV reads an array of objects, collects column names in first-seen order and leaves a blank cell for a missing or null value. Numbers keep their JSON spelling, nested objects and arrays become compact JSON text inside one cell, and an empty array gives an empty file.
CSV → JSON reads the header row as object keys and creates one object per record. Every cell stays a string, including 00123, true and large integer-looking values, so no type is guessed.
- Export API records or JSON fixtures for a spreadsheet, import pipeline or readable table.
- Turn a spreadsheet export into JSON fixtures while keeping identifiers, notes and blank cells.
- Read or write semicolon-separated CSV or tab-separated TSV with the explicit Separator control.
- Catch damaged quoting, duplicate columns or shifted records before handing data to another tool.
Choose JSON → CSV or CSV → JSON and the Separator (Comma, Semicolon or Tab) that the destination or source really uses, then paste the data or choose a sample.
For JSON → CSV, paste an array of objects and pick LF or CRLF record endings. Turn on Prefix formula-like text only if you want an apostrophe added to cells such as =1+1.
For CSV → JSON, keep a named header row. Skip blank lines ignores only truly empty lines; turn it off to keep empty one-column records.
Convert, check the header and records, then copy or save converted.csv, converted.tsv or converted.json. Quoting errors give a line and column; width errors give the record number.
- JSON → CSV: [{"name":"Ada","role":"admin"}] → name,role followed by Ada,admin.
- JSON → CSV: the string He said "yes" → "He said ""yes"""; embedded quotes are doubled.
- JSON → CSV: the nested value ["admin","editor"] → JSON text in one quoted cell, not two columns.
- JSON → CSV: [{"price":1.00,"id":9007199254740993}] → price,id followed by 1.00,9007199254740993.
- CSV → JSON: id,active followed by 00123,true → {"id":"00123","active":"true"}; values are not guessed.
- CSV → JSON: a quoted "Ada, A." stays one cell, and a comma-only record under a,b becomes {"a":"","b":""}.
- CSV → JSON: a header-only table → []; a duplicate column name or unequal record width → an error.
- Processing is local. CSV content and formula-like text are never evaluated here.
- Export uses UTF-8 without a BOM; a leading BOM is accepted on import. LF, CRLF and CR record endings are read, and newlines inside quoted cells are kept.
- CSV has no null, object, array, boolean or number types. Nested values are exported as JSON text, and null, missing properties and empty strings all become empty cells.
- Imported cells stay strings: empty cells become "", and JSON text stored in a cell stays a string.
- Header names are not trimmed and must be non-blank and unique by exact spelling. Exported column order follows first appearance across records, numeric-looking keys included, and no column is dropped. A key repeated inside one JSON object keeps its last value, as JSON.parse does, and the summary names the key and line.
- Numbers are exported as spelled in the JSON, including 1.00, 1e3 and integers beyond ±9,007,199,254,740,991. A spreadsheet may still round long numbers or drop trailing zeros when it opens the file.
- Spreadsheets may run formula-like text. The optional apostrophe prefix also covers leading whitespace and full-width markers, but behavior varies by application and it is not a universal sanitizer.
- Limits: 5,000,000 characters, 100,000 data rows, 10,000 columns and 1,000,000 cells including the header, and up to 128 nested JSON levels. An empty JSON array gives an empty file without a header row. Output is never truncated.