About CSV to JSON
CSV looks simple until a field contains a comma, a quote or a line break. A parser that splits on commas breaks those files, and one that ignores quoting silently corrupts records. This tool reads the CSV according to the usual quoting rules, so quoted fields, doubled quotes and embedded newlines stay together and the JSON matches the spreadsheet you exported.
Choose automatic delimiter detection or set comma, semicolon or tab yourself. With a header row the output is an array of objects keyed by the headers; without one it is an array of arrays. Values stay strings on purpose, which keeps leading zeros, IDs and codes exactly as exported. Detection, parsing and JSON generation happen in the tab, so the file is never uploaded.
What this tool does
Automatic delimiter detection
The first line is sampled to choose comma, semicolon or tab, and you can override it from the delimiter menu.
Quoted fields and newlines
Commas, semicolons and line breaks inside double-quoted fields are kept as data, with doubled quotes decoded to one quote.
Header row toggle
With headers the JSON is an array of objects; without headers it is an array of arrays, which suits spreadsheets without column names.
Optional trimming
Strip spaces around unquoted cells when a file has visual padding, or keep them untouched when spaces are part of the value.
Pretty or compact JSON
Choose indented output for reading and reviewing or compact output for a payload you are about to paste elsewhere.
Copy, download, no upload
Copy the JSON or download a .json file named after the uploaded CSV; the data stays on your device.
How to use CSV to JSON
- 01
Add your CSV
Paste it into the input pane or load a .csv, .tsv or .txt file from your device, up to 10 MB.
- 02
Confirm the delimiter
Leave it on Automatic, or pick comma, semicolon or tab when the detection is not what you expect.
- 03
Choose header and trimming
Keep the header row when the first line names the fields; enable Trim cells to remove padding around values.
- 04
Convert and review
Press Convert. The status line reports records, columns and the delimiter, and the JSON appears in the output pane.
- 05
Copy or download
Copy the JSON for an API client or download it as a .json file for the rest of your pipeline.
Supported formats and limits
- Input
- CSV
- Output
- JSON
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Maximum size
- Bound by the memory available to your browser tab.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- Values are always emitted as strings; no numeric, boolean or date inference is performed.
- One-character delimiters only: comma, semicolon and tab. Pipe-delimited and multi-character separators are not supported.
- Extra cells beyond the header width are dropped and missing cells are omitted, so ragged rows need checking in the status message.
- Input is capped at 10 MB of text and parsing runs on the main thread after a short yield.
Privacy and file handling
Your CSV is read, parsed and converted entirely inside this browser tab with JavaScript. The file is never uploaded to FormatFlow or anyone else, no copy is stored and nothing leaves your device; closing the page clears the input and the generated JSON.
Read the full privacy policy
