CSV to JSON Converter
Donfig converts CSV files into an array of JSON objects. The first row provides the keys; each subsequent row becomes one object. Numeric and boolean values are detected automatically (CSV is untyped on the wire). Quoted fields, escaped quotes, and CRLF line endings are all handled per RFC 4180. Use the TSV variant for tab-separated values. Common use cases: turning a spreadsheet export into API-ready JSON, ingesting analytics data into a JSON-based pipeline, or moving data between tools that don't speak CSV.
JavaScript is required to use the live tool. Please enable JavaScript and reload.
Frequently asked
What if the CSV has no header row?
Donfig assumes the first row is headers. If yours doesn't have headers, prepend a comma-separated key row before pasting.
Are numbers parsed as numbers or kept as strings?
Numbers and booleans are auto-detected. Add quotes in the original CSV to force a string.
How are missing values handled?
Empty cells become empty strings. Missing trailing columns are omitted from that row's object.