CSV to JSON

Convert CSV into JSON.

Updated
Loading tool…

Convert CSV into JSON.

How to use CSV to JSON

  1. Paste your raw CSV data into the input box
  2. Choose the delimiter and toggle whether row one is a header
  3. Read the pretty-printed JSON output and row count
Want the how & why?Read: How to Convert CSV to JSON (Free, In Your Browser) →
Try next →JSON FormatterFormat, repair and validate JSON.

About CSV to JSON

Paste raw CSV data into the box and instantly convert it to clean, pretty-printed JSON. This works as both a converter and a CSV to JSON formatter: the output is indented with two spaces and shows the row count, so it is readable the moment it appears. Toggle whether the first row is a header to control the shape of the result — keep it checked to get an array of objects keyed by each column name, or uncheck it to get an array of arrays of string values. You can also pick comma, semicolon, or tab as the delimiter, so European semicolon files and tab-separated (TSV) exports convert without any reformatting.

The parser follows standard CSV rules, so it correctly reads double-quoted fields that contain the delimiter, line breaks inside a field, and escaped quotes written as two double quotes. Once the JSON looks right, click Copy to grab it and paste it straight into your code, an API request, a config file, or another app — a quick way to export CSV to JSON without opening a spreadsheet program. Note that it converts in one direction, from CSV to JSON; going the other way needs a separate JSON to CSV tool.

Everything is completely free with no sign-up, no limits, and no watermarks. All parsing happens entirely in your browser using plain JavaScript, so your CSV is never uploaded to a server and never leaves your device — safe for private or sensitive data.

Frequently asked questions

Is this CSV to JSON converter free?
Yes, it is completely free to use with no sign-up, no account, and no usage limits. You can convert as many CSV files as you like.
Is this also a CSV to JSON formatter?
Yes. As well as converting, it acts as a formatter: the JSON output is pretty-printed with two-space indentation and shows the row count, so the result is clean and readable the moment your CSV is parsed.
Can I convert JSON to CSV here too?
No, this tool works in one direction — it turns CSV into JSON. To go the other way and turn JSON into CSV, you would use a dedicated JSON to CSV converter instead. Keeping each direction separate avoids any ambiguity about which format is the input.
What is the difference between the header and no-header options?
When 'First row is header' is checked, the first CSV row becomes the keys and each following row becomes a JSON object, producing an array of objects. When unchecked, every row is output as an array of string values, producing an array of arrays.
Does it handle quoted fields with commas or line breaks?
Yes. The parser fully supports double-quoted fields that contain the delimiter, line breaks inside a field, and escaped quotes written as two double quotes. This follows standard CSV quoting rules.
Which delimiters are supported?
You can choose comma, semicolon, or tab. Semicolon is common in European spreadsheets, and tab lets you paste TSV (tab-separated) data directly.
Can I convert TSV (tab-separated) data to JSON?
Yes. Set the delimiter to tab and paste your tab-separated values, and the tool parses each column just like a comma CSV. This is handy for data copied straight out of a spreadsheet, which is often tab-separated.
How do I export or save the converted JSON?
Use the Copy button to copy the complete JSON, then paste it into a .json file, your code, an API request, or another app. That is the fastest way to export CSV as JSON, and because the copy happens locally your data stays on your device.
How do I use the JSON output?
The result is pretty-printed with two-space indentation and shows the row count. Click the Copy button to copy it to your clipboard, then paste it into your code, API request, or another app.
Is my CSV data uploaded to a server?
No. All parsing and conversion happens entirely in your browser using JavaScript. Your data never leaves your device and is never sent to or stored on any server, which makes it safe for sensitive or private data.