CSV to JSON
Processed in your browser · nothing is uploaded
Converts CSV with a header row into an array of objects, parsing properly rather than splitting on commas, so quoted fields containing commas, quotes and line breaks all survive.
How to use the csv to json
Splitting on commas is the mistake almost every quick script makes, and it fails on the first address in the file. Real CSV, as described in RFC 4180, allows a field to be wrapped in double quotes, and inside those quotes a comma is data, a doubled quote is one literal quote, and even a line break is allowed. That is why a spreadsheet export with addresses or free-text notes turns to nonsense under a naive parser. This handles all three. It does not guess types. Every value comes out as a string, because a CSV cell has no type information and guessing turns leading-zero product codes into integers and loses the zeros.
Questions
Because a quoted field can contain commas, quotes and line breaks. The first address in your file will break a naive split.
No, everything comes out as a string. Guessing types silently destroys leading-zero codes and long identifiers.
Yes. Semicolon-separated files are common in European locales where the comma is the decimal mark.
The first row is used as keys regardless. Add a header row first if the data starts immediately.
No. Parsing and formatting happen in your browser, which matters when the JSON is an API response with real data in it.