CSV to JSON Converter
Turn a CSV table into a JSON array of objects, using the header row as keys. Free, in your browser, with no upload.
Output format
JSON
Overview
Why convert CSV to JSON
JSON is the more practical choice here. API request and response payloads
Need a different output format or per-file settings? The data converter handles every format in one place. Going the other way? Use JSON to CSV.
Comparison
CSV vs JSON: how they differ
| Attribute | CSV | JSON |
|---|---|---|
| Full name | Comma-Separated Values | JavaScript Object Notation |
| Encoding | Text (editor-readable) | Text (editor-readable) |
| What it preserves | Flat only: no nesting, types or formatting | Preserves nesting and value types exactly |
| Typical size | Very compact for tabular data | Verbose: keys repeat on every record |
| Support | Universal. Every spreadsheet, database and BI tool imports it. | Native in every programming language and every browser. |
How to
How to convert CSV to JSON
- 01
Drop your CSV file
Drag one or more CSV files onto the drop zone above, or click to browse. Files stay on your device and there is no upload step. data formats can't be reliably identified from their bytes alone, so the extension is used to work out the source format.
- 02
Convert to JSON
convert.now parses the CSV and writes it out as JSON in a Web Worker, so the page stays responsive even on large files. Nothing is sent anywhere.
- 03
Download the result
Download the JSON file, or a zip of all of them for a batch. Filenames are preserved, with the extension changed to .json.
Why here
Why convert.now
- Private
Files stay in your browser. There is no upload step, so nobody else can see them.
- Fast
There is no queue and no upload to wait for. Conversion starts when you drop a file.
- Free
There are no ads, no limit on the number of files and no sign-up.
FAQ
CSV to JSON: common questions
No. The CSV to JSON conversion runs entirely in your browser. Files never leave your device, and there is no server involved in the conversion. To confirm it, open the Network tab in your browser's developer tools and run a conversion: you will see the page and its code load, and no request carrying your file.
CSV is a plain-text table format: one row per line, fields separated by commas, usually with a header row. It is the most widely supported data format there is, readable by every spreadsheet, database and analytics tool. JSON is a plain-text data format that stores nested objects and arrays. It is the standard payload format for web APIs, readable in any text editor, and parsed natively by every major programming language.
No. Both formats represent the same data model, so the values and their structure come across intact. JSON has no comment syntax. Anything stripped from a JSONC or JSON5 source is gone.
JSON has no comment syntax. Anything stripped from a JSONC or JSON5 source is gone. JSON numbers are IEEE 754 doubles, so integers beyond 2^53 lose precision silently.
JSON represents nesting directly, so the structure of your CSV is preserved as it is.
CSV has no formal specification, only a convention (RFC 4180). Delimiters, quoting and line endings vary between producers. More broadly: CSV is the lowest common denominator of tabular data: one record per line, fields separated by commas, an optional header row. Every spreadsheet application, database and analytics tool reads it.
JSON suits: aPI request and response payloads; configuration files that need nesting; anything consumed directly by JavaScript. It is the wrong choice when very large tabular datasets, where the repeated keys dominate the file size.
There is no hard limit. The constraint is your browser's memory. Larger files take longer, and a browser tab typically has 250-500MB to work with, so very large batches are better split into smaller groups.
Yes. The drop zone falls back to your phone's file picker, and the conversion runs on the device exactly as it does on desktop. Large files are slower on a phone because there is less CPU and memory available, but nothing about the workflow changes.
More
Other conversions from CSV
More
Other conversions to JSON
Last updated