Convert CSV to JSON

Convert CSV to JSON or JSON to CSV instantly. Auto-detects delimiters and handles quoted fields.

How to use

  1. Paste CSV into the input box — the delimiter is auto-detected.
  2. The JSON output appears instantly in the right panel.
  3. Switch to the "JSON → CSV" tab to convert in the other direction.

Frequently asked questions

How do I convert CSV to JSON?

Paste your CSV into the input box. The first row is treated as headers, and each subsequent row becomes a JSON object. The JSON array output appears instantly.

What delimiters are supported?

The tool auto-detects commas, semicolons, and tabs. You can also manually select a delimiter from the dropdown.

Does it handle quoted fields?

Yes. Fields wrapped in double quotes can contain commas, newlines, and escaped quotes (""). The parser follows RFC 4180 conventions.

Can I convert JSON back to CSV?

Yes. Switch to the "JSON → CSV" tab, paste a JSON array of objects, and the CSV output is generated instantly with proper escaping.

Last updated

Powered by maratool