Convert CSV spreadsheets to structured JSON arrays or transform JSON records back into RFC 4180 compliant CSV files. Features a true state-machine parser for commas and line breaks inside quoted fields, escaped double quotes, custom delimiters, column mismatch diagnostics, and a 10-row data table preview.
No data parsed yet.
| Convert data to preview rows and columns here. |
.csv, .tsv, or .json file, then click Convert (Formatted) or Convert (Minified JSON).Why RFC 4180 State-Machine Parsing Matters: Naive converters split CSV rows using line.split(","), which immediately corrupts fields containing commas (e.g., "Rivera, Alex"), multi-line addresses inside quotes, or escaped double quotes (""). Our parser processes input character-by-character according to RFC 4180 rules.
Type Preservation & File Size Limitations: By default, the tool keeps all values as strings so ZIP codes with leading zeros (02115), phone numbers, and large IDs are never silently mutated. You can opt into primitive inference at any time. Extremely large files (above 5 MB) can consume substantial browser memory; the configurable warning limit prevents accidental tab freezes.
100% Local Browser Privacy: Uploaded CSV and JSON files are parsed directly in your browser's local RAM via the HTML5 FileReader API and are never uploaded to any server.
Following the RFC 4180 standard, any comma enclosed inside double quotation marks (such as "Enterprise SEO Toolkit, Pro") is treated as part of the field text rather than a column separator.
In standard CSV syntax, a literal double quote inside a quoted field is represented by two consecutive double quotes (""). For example, "Includes ""JSON-LD"" tools" is parsed into Includes "JSON-LD" tools.
Yes. Because the parser tracks quote state across carriage returns (\r) and newlines (\n), multi-line notes or street addresses inside quoted cells remain attached to their correct row and column.
In regions where the comma is used as the decimal separator (such as 49,99 for currency), Microsoft Excel uses the semicolon (;) as the field delimiter. Our Auto-Detect delimiter setting recognizes semicolons automatically.
Automatic type coercion can silently corrupt data—such as stripping the leading zero from postal code "02115" (turning it into 2115), altering credit card/SKU strings, or losing precision on 64-bit integer IDs. Keeping strings by default is safest, and you can switch to "Infer Numbers, Booleans & Null" whenever needed.
Instead of returning an array of keyed objects ([{ "sku": "SYC-001" }]), the converter outputs a 2D array of row arrays ([["sku", "product_name"], ["SYC-001", "Toolkit"]]) and labels the preview columns field_1, field_2, etc.
In "Preserve All as Strings" mode, an empty cell (e.g., a trailing comma) becomes an empty string (""). In "Infer Numbers, Booleans & Null" mode, empty cells are converted to JSON null.
It means one or more data rows contain fewer or more columns than the first row (header). The tool tells you the exact 1-based line numbers so you can fix stray delimiters in your spreadsheet.
Yes. Leave the delimiter dropdown on Auto-Detect or explicitly select Tab (\t) or Pipe (|). You can also upload .tsv files directly.
When converting an array of JSON objects to CSV, the tool scans every object in the array to build a complete union of all unique property keys, ensuring no column is dropped even if an early object omitted an optional key.
If a JSON record contains a nested object or array as a property value, the converter serializes that nested structure into a compact JSON string and wraps it in RFC 4180 CSV quotes so the spreadsheet column alignment stays intact.
Formatted JSON indents nested objects with 2 spaces and line breaks for human readability. Minified JSON removes all non-essential whitespace to produce the smallest possible payload for network transmission.
Parsing and stringifying multi-megabyte datasets in a single browser tab can temporarily block the main UI thread. The warning threshold protects your browser from freezing on accidentally huge uploads while letting you raise the limit when needed.
Never. All file reading, CSV parsing, JSON serialization, and file downloads execute locally inside your browser. Zero bytes are sent over the network.
Yes. Both the input editor and the local FileReader/Blob export use UTF-8 encoding, preserving accented characters, non-Latin scripts (Hindi, Japanese, Arabic, Cyrillic), and emojis.
In standard JSON objects, keys within the same object must be unique; if a CSV header contains duplicate column names, the later column value will overwrite the earlier key of the same name. Always ensure CSV headers are unique.
This error means a cell in your CSV opened a quotation mark (") to start a quoted field, but reached the end of the file without a matching closing quotation mark.
Yes. If you paste a single JSON object ({ "id": 1, "name": "Test" }) in JSON-to-CSV mode, the converter automatically wraps it as a 1-row dataset and outputs the header row plus the single data row.
Rendering tens of thousands of HTML table DOM nodes simultaneously slows down mobile and desktop browsers. The preview displays the first 10 rows for instant verification while the output textarea and downloaded file contain 100% of your converted rows.
JavaScript 64-bit floats only guarantee exact integer precision up to 9,007,199,254,740,991 (16 digits). If an integer exceeds that safe limit (such as a 64-bit Snowflake ID), our type inferrer automatically preserves it as a string so digits are never rounded.
Copy your converted JSON output and open the SYCAGO JSON Formatter and Validator to explore it in an interactive tree viewer or run a structural JSON diff.
Continue working with your data using our other free browser tools:
.json or .csv result.Unlike basic converters that split lines on every comma, our state-machine parser supports embedded commas, multi-line line breaks inside quoted fields, and escaped double quotes (""). If any row has a different column count than your header row, the status banner reports the exact line number. All file reading happens locally in browser memory via the HTML5 FileReader API—your spreadsheet data is never uploaded to any server.