CSV to JSON
Convert quoted CSV rows into JSON objects.
Input & settings
How to use this tool
Paste a CSV table with unique non-empty column headings in its first row. Convert it, inspect the JSON array and check whether quoted commas or newlines have been interpreted as single field values.
Limits and behavior
The first row supplies unique non-empty column names. Every cell is a string. Commas, quoted newlines and doubled quotes are supported; up to 10,000 rows. Maximum total input 1 MB, output 3 MB, JSON nesting 64 levels. Processing stays in your browser worker. Input is limited to 1 MB and output to 3 MB. No input content is saved by CraftAI.
CSV to JSON converter for tabular data
Convert comma-separated values into JSON objects by pasting CSV rows into the tool. It supports quoted CSV fields, making it useful when spreadsheet cells contain commas within a value.
How is a CSV file different from JSON?
CSV represents rows and columns as delimited text; JSON represents structured arrays and objects. Review your column headers and the generated values before using the converted data in an application.
Worked example and important checks
Input two rows of CSV: name,score followed by Mira,9. The resulting JSON array contains one object with "name": "Mira" and "score": "9". Notice that the CSV cell 9 remains a string; CSV doesn't declare numeric field types.
If your column names are blank or repeated, correct the header row before conversion. If your fields contain commas, quote those values correctly in the CSV source.
For reproducible testing, download the CSV parsing fixture and expected JSON, covering quoted commas, escaped quotes, an embedded newline, Unicode and empty values. One sample contains a spreadsheet formula-like string as test data; read the linked safety note before opening CSV files in spreadsheet software.