Convert CSV data to JSON instantly — or reverse it. Paste text, upload a file, pick your format, and download the result. Everything runs in your browser; no data is sent to any server.
Related tools: JSON to CSV Converter · JSON Formatter
Options
Delimiter
Output format
CSV Input
drag & drop .csv
No file chosen
How It Works
CSV → JSON
- Paste CSV text or upload a
.csvfile (drag and drop supported). - Choose a delimiter — or leave it on Auto-detect and the tool will count occurrences on the first line to find the right separator.
- Toggle First row as headers to control whether row 1 becomes object keys or data.
- Pick an output format:
- Array of objects — most common; each row becomes
{ "col": "val", … }. - Array of arrays — compact; rows stay as plain arrays.
- Nested — groups rows into an object keyed by the first column’s value.
- Array of objects — most common; each row becomes
- Type inference automatically converts numbers,
true/false, and empty/null/n/acells to proper JSON types. - Hit Convert, review the preview table, then Copy or Download.
JSON → CSV
Switch to the JSON → CSV tab, paste any flat JSON array, choose your output delimiter, and download the result.
Quoted fields with commas inside (e.g. "Lee, James") are handled correctly per RFC 4180.
Related tools: JSON to CSV Converter · JSON Formatter
