CSV to JSON Converter
Paste CSV data with a header row and get back a clean array of JSON objects — one per row, keyed by the column headers. Choose comma, semicolon or tab as the delimiter.
How to use
Paste your CSV (the first line is treated as column headers), pick the delimiter, and convert. The result is a formatted JSON array you can copy straight into code or an API request.
The parser correctly handles the tricky parts of CSV: fields wrapped in quotes, commas inside quoted fields, and escaped double-quotes (`""`) — so a value like `"Smith, John"` stays one field instead of splitting.
FAQ
What happens to the first row?
It's used as the object keys. So `name,age` followed by `Alice,30` becomes `{ "name": "Alice", "age": "30" }`. Make sure your CSV has a header row.
Does it handle commas inside a field?
Yes — as long as the field is wrapped in double quotes, e.g. `"Smith, John"`. The parser follows the standard CSV quoting rules, including `""` for a literal quote inside a quoted field.
Are numbers converted to JSON numbers?
No — values are kept as strings to avoid guessing wrong (e.g. leading-zero codes, phone numbers). If you need numeric types, cast them in your code after import.
Is my data uploaded to convert it?
No — parsing happens entirely in your browser, so it's safe for internal exports or data you can't share.