CSV → JSON
Turn pasted CSV into a clean JSON array.
Everything runs in your browser — your data never leaves this page.
Quoted fields, escaped quotes and line breaks inside quotes are fully supported (RFC 4180).
About CSV → JSON
This CSV to JSON converter turns comma-, semicolon-, tab- or pipe-separated data into clean JSON as you type. Paste CSV, drop a .csv file or load the sample; the delimiter is auto-detected (or forced manually) and the JSON output updates live, with a preview table showing exactly how each row was read.
The parser follows RFC 4180, so quoted fields, escaped quotes and line breaks inside quotes are handled correctly. With the header toggle on, the first row becomes the object keys; duplicate or empty header names are repaired automatically and a warning tells you what was fixed.
Output options cover the common cases: an array of objects or an array of plain rows, configurable indentation, and “smart types” that convert numbers, true/false and null into real JSON types instead of strings. Everything runs in your browser — your data never leaves the page.
How to use CSV → JSON
- Paste your CSV into the left pane, upload a .csv file, or load the sample.
- Confirm the auto-detected delimiter, or pick comma, semicolon, tab or pipe manually.
- Toggle “First row is a header” to control whether column names become JSON keys.
- Choose the shape (objects or rows), the indent level and whether smart types are on.
- Review the “How your data was read” preview, then copy the JSON or download the .json file.