Input
Paste your CSV here, or drag a file…
Drag & drop a file, or paste content above
Output
Output will appear here
About
The CSV ⇄ JSON Converter transforms tabular CSV data into structured JSON arrays and vice versa. It auto-detects headers from the first row, handles quoted fields, and lets you choose between array-of-objects and array-of-arrays output formats. The reverse direction produces properly quoted CSV from a JSON array.
How to use
- 1 Paste your CSV data and click Convert to JSON to get a JSON array.
- 2 For JSON → CSV, paste a JSON array of objects and click Convert to CSV.
- 3 Adjust delimiter settings if your CSV uses semicolons or tabs.
- 4 Copy or download the result.
- Does the CSV to JSON converter handle quoted fields with commas inside them?
- Yes. The parser correctly handles RFC 4180-compliant CSV, including fields enclosed in double quotes that contain commas, newlines, or other special characters. Fields like "Smith, John" are treated as a single value, not split at the internal comma.
- What JSON format does the converter produce?
- By default the converter produces an array of objects, where each object represents one CSV row and its keys are the column headers from the first row. You can also choose array-of-arrays format (no headers used as keys) for when you need a simple nested array structure.
- My CSV uses semicolons instead of commas — will it still work?
- Yes. The delimiter can be changed to semicolon (;), tab (\t), or pipe (|) to handle European-style CSV files and TSV (tab-separated values) files. Select the correct delimiter before converting and the parser will use it to split fields.