CSV ↔ JSON Converter

Convert between CSV and JSON formats. Everything runs in your browser.

CSV Input

JSON Output


How to Convert CSV to JSON

Paste your CSV data or upload a file, and the converter instantly generates JSON output. If your CSV has a header row (enabled by default), each row becomes a JSON object with the header values as keys. Without headers, rows become arrays of values.

How to Convert JSON to CSV

Click the mode toggle to switch to JSON → CSV. Paste a JSON array of objects, and the converter extracts all keys as CSV columns. Arrays of arrays and single objects are also supported.

Supported Delimiters

  • Comma — Standard CSV format.
  • Tab — TSV (Tab-Separated Values), common in spreadsheet exports.
  • Semicolon — Used in European locales where comma is the decimal separator.
  • Pipe — Sometimes used in data pipelines and log files.

Frequently Asked Questions

Does it handle quoted fields?

Yes. The parser correctly handles double-quoted fields, including fields containing commas, newlines, and escaped quotes ("").

What about nested JSON?

When converting JSON to CSV, nested objects and arrays are converted to their string representation. For deeply nested data, consider flattening the structure first.

Is there a size limit?

There's no hard limit. The tool processes everything in your browser's memory, so files up to a few megabytes work fine. Very large datasets may cause brief lag.