CSV ⇄ JSON
Convert CSV to JSON and JSON back to CSV locally with quoted-field support, delimiter options, copy, and download.
🔒 Runs entirely in your browser — nothing is uploadedWhat CSV ⇄ JSON does
CSV ⇄ JSON converts tabular text into structured JSON and converts JSON arrays back into a CSV file you can paste into a spreadsheet, import tool, fixture, or documentation example. The CSV parser is written for practical developer data instead of only the simplest comma-separated examples. It reads quoted fields, embedded commas, escaped double quotes, empty cells, and both CRLF and LF line endings, so copied spreadsheet rows and exported reports behave as expected.
The CSV to JSON direction treats the first row as column names by default. When a file has no header row, the converter generates predictable names such as column1, column2, and column3. The JSON to CSV direction accepts an array of objects or an array of arrays. For objects, it derives a stable union of keys in first-seen order and writes those keys as the header row before filling each record. For arrays, it writes each nested array as one CSV row.
Private browser-based workflow
All parsing, validation, quoting, copying, and downloading happens inside your browser. The tool does not upload your CSV, JSON, identifiers, customer-shaped samples, tokens, or exported report snippets to a server. That local-only behavior is useful because conversion tools are often used with realistic debugging data, API responses, configuration samples, and spreadsheet exports that should not leave your machine. It also keeps the workflow fast because the output is generated immediately without waiting on a network request.
Practical tips
Use auto delimiter detection when you are not sure whether a spreadsheet exported comma, semicolon, or tab-separated data. Choose a specific delimiter when preparing output for another system with strict import requirements. Always review converted data before using it in production, especially when empty cells, duplicate header names, mixed object shapes, or JSON values that contain nested objects are involved. CSV is a loose family of formats, so a browser utility is best for inspection, cleanup, and small transformations rather than replacing a project-specific import pipeline.
How to use
- Choose directionSelect CSV to JSON or JSON to CSV before pasting your data.
- Set optionsPick automatic, comma, semicolon, or tab delimiters and choose whether CSV has a header row.
- Convert and exportReview the output, then copy it or download it as a local file.