CSV to JSON Converter
Turn CSV rows into an array of JSON objects. Free, instant, and no signup required.
About CSV to JSON conversion
CSV is the lowest-common-denominator format every spreadsheet tool and data pipeline understands, from Excel to pandas — it's strictly tabular, with no built-in way to express nesting. JSON is the default data-interchange format for REST APIs, config files, and NoSQL databases — nested objects and arrays, but no comments.
Nested objects flatten into dot-notation columns (address.city), arrays of objects flatten into bracket-indexed columns (tags[0], tags[1]), and arrays of plain values join into one semicolon-separated cell. Converting the other direction reconstructs the original nesting from those column names, so keeping that naming convention in a hand-edited CSV keeps the round-trip clean.
How to convert CSV to JSON
- Paste your CSV into the left editor, or click sample above it to try example data.
- Click Convert. The JSON result appears on the right instantly.
- Click copy to copy the result, or download to save it as a file.
Example
Input (CSV):
name,role,active
Ada Lovelace,Mathematician,true
Grace Hopper,Computer Scientist,true
Output (JSON):
[
{
"name": "Ada Lovelace",
"role": "Mathematician",
"active": "true"
},
{
"name": "Grace Hopper",
"role": "Computer Scientist",
"active": "true"
}
]
Frequently asked questions
address.city) to represent nested fields, and bracket-indexed headers (tags[0], tags[1]) for arrays. Converting JSON to CSV flattens using that same convention, so round-tripping preserves structure as long as the column names follow it.