How to use CSV to JSON Converter
- Paste your CSV into the box or upload a .csv file.
- Choose the delimiter - auto, comma, semicolon or tab - and tick "first row as header" if row 1 contains column names.
- Read the JSON array that appears, where each row is an object (or an array when there is no header).
- Copy the JSON or download it as a file.
Features
- Paste CSV or upload a .csv file
- Delimiter auto-detection, or choose comma, semicolon or tab
- First-row-as-header option to use column names as JSON keys
- Handles quoted fields with commas, line breaks and doubled quotes, following RFC 4180
- Copy or download the JSON output
- Handles up to about 10 million characters
- Works with semicolon-separated files from European spreadsheet settings
- No daily limit
Supported formats and limits
- Maximum input: 10,000,000 characters
Examples
| Input | Result |
|---|---|
| name,age / Ana,30 / Luis,25 | [{"name":"Ana","age":"30"},{"name":"Luis","age":"25"}] — Values are kept as text strings. |
| name;city / Ana;Lima (semicolon delimiter) | [{"name":"Ana","city":"Lima"}] |
| name,note / Ana,"Hello, world" | [{"name":"Ana","note":"Hello, world"}] — The quoted comma stays inside the value. |
| Tab-separated text with the delimiter set to tab | Each tab-separated column becomes one key or value |
Limitations
- All values are converted as text strings. Numbers, booleans and dates are not automatically turned into JSON numbers or dates.
- A column with no name in the header row is labelled "column1", "column2" and so on.
- Rows with a different number of fields than the header may produce missing or extra values, so check irregular files.
- Input is limited to about 10 million characters.
Learn more
CSV (comma-separated values) is a simple table format: one record per line, fields separated by a delimiter. JSON stores the same data as objects and arrays and is the usual format for web APIs and JavaScript code. Converting CSV to JSON is a common step when moving spreadsheet data into an application.
The rules for CSV are loosely standardized in RFC 4180. Fields that contain the delimiter, a double quote or a line break must be wrapped in double quotes, and a quote inside such a field is written twice. A simple split on commas breaks on those cases, so the converter parses the file properly. The delimiter also varies: comma is standard, but semicolons are common where the comma is the decimal separator, and tabs are used in TSV exports.
With a header row, each record becomes an object whose keys come from the header, which gives readable JSON such as {"name":"Ana"}. Without one, each record becomes a list of values. JSON has real numbers and booleans, but CSV carries no type information, so this tool keeps every value as text, which avoids damaging values like ZIP codes or IDs with leading zeros.
Frequently asked questions
How do I convert CSV to JSON?
Paste your CSV or upload a .csv file, choose the delimiter and click convert. You get a JSON array that you can copy or download.
How do I use the first row as keys?
Keep "first row as header" ticked. The first row's values become the keys of each JSON object.
My CSV uses semicolons, will it work?
Yes. Leave the delimiter on auto or select semicolon. Files exported from spreadsheets in many European settings use semicolons.
Why are my numbers in quotes in the JSON?
Every value is kept as a text string so nothing is changed unexpectedly, such as leading zeros in an ID. Convert types in your code if you need numbers.
Does it handle commas inside a field?
Yes, if the field is wrapped in double quotes, as RFC 4180 describes. Line breaks and doubled quotes inside quoted fields are handled as well.
Is my CSV uploaded to a server?
No, the conversion runs in your browser, so customer lists and exports stay on your device.
Sources
- RFC 4180, Common Format and MIME Type for Comma-Separated Values (CSV) Files
- RFC 8259, The JavaScript Object Notation (JSON) Data Interchange Format
Last reviewed: September 29, 2026