CSV / JSON Converter
Convert data between CSV and JSON with flexible delimiter, header and data type settings. Inspect your results in source or table view and download the complete converted file.
Loading workspace…
CSV input
JSON result
How to use
- Choose a direction: Select CSV to JSON or JSON to CSV, then enter, paste or import a local data file.
- Configure conversion: Adjust delimiters, headers, data types, JSON structure and other output options.
- Review your results: Conversion runs automatically. Switch between source and table views to inspect records and complete cell values.
- Save the output: Copy the complete result or download a CSV, TSV or JSON file. To convert the result back, switch directions and paste it into the input pane.
Support and limitations
- Supports UTF-8 CSV, TSV and JSON files. CSV supports comma, semicolon, tab and pipe delimiters, escaped quotes and multiline fields.
- CSV can be converted into JSON object arrays or two-dimensional arrays. Fields remain strings by default. Optional type inference may change field types and numeric representations.
- JSON input supports a single object, arrays of objects and rectangular arrays. Nested objects can be serialized as JSON strings or flattened into columns. Nested arrays are not expanded into multiple rows.
- JSON numeric literals retain their original representations in CSV output. CSV lacks a complete JSON type system, so round-trip conversion cannot guarantee preservation of every original structure, type or null value.
- CSV input is limited to 64 MiB. JSON input is limited to 16 Mi UTF-16 code units and 500,000 parsed nodes. Converted output is limited to 64 MiB. Large results may have partial source previews while complete downloads remain available after successful conversion.
- Data is processed locally without uploads or persistent storage. Optional spreadsheet formula injection protection modifies potentially dangerous field values. XLSX conversion is unsupported.
Frequently asked questions
Does converting CSV to JSON remove leading zeros?
Not by default. CSV fields remain strings, so a value such as 001 is preserved as "001". Optional type inference also preserves values with leading zeros or identified numeric precision risks.
Can I convert nested JSON objects to CSV?
Yes. Nested objects are serialized as JSON strings by default or can be flattened into separate columns. Nested arrays remain JSON strings rather than creating additional rows.
Can I convert large files?
Yes. Conversion runs locally in a Worker and supports CSV files up to 64 MiB. JSON input and converted output have separate resource budgets. Large results can be inspected using paginated tables and downloaded in full.
Why does converting CSV back to JSON produce different data?
CSV does not define a universal type system or nested data structure. Numbers, booleans, null values and nested objects may not recover their original JSON semantics automatically.