CSV to JSON Converter
Convert between CSV and JSON formats instantly.
Frequently Asked Questions
How does CSV to JSON conversion work?
The converter reads the first row as column headers and maps each subsequent row to a JSON object where keys are the header names and values are the cell contents. The result is an array of objects — one per data row. You can also output as an array of arrays if you prefer.
Can I convert JSON back to CSV?
Yes — the tool works in both directions. Paste a JSON array of objects and it generates CSV with headers derived from the object keys. Nested objects are flattened using dot notation (e.g., "address.city"). Arrays within values are joined with semicolons by default.
What delimiters are supported for CSV?
Besides the standard comma, the tool supports semicolons, tabs, pipes, and custom delimiters. European CSV files often use semicolons because commas are used as decimal separators. The tool auto-detects the delimiter when possible or lets you specify it manually.
How does it handle quoted fields with commas inside?
The parser correctly handles RFC 4180 compliant CSV: fields enclosed in double quotes can contain commas, newlines, and escaped quotes (doubled double-quotes). This means "Smith, John" in a CSV field is treated as a single value, not split into two columns.
Is there a size limit for conversion?
The tool runs in your browser, so there is no server-imposed limit. It comfortably handles files with tens of thousands of rows on modern devices. For very large datasets (100MB+), consider using a command-line tool like jq or csvkit instead.