CSV → JSON
Paste CSV with a header row to get a JSON array of objects. Commas inside quotes are handled correctly.
Need the other direction? JSON → CSV
CSV to JSON Converter Online
Paste CSV exported from Excel, Google Sheets, or a database export. The first row defines property names; every subsequent row becomes one object in a JSON array. Quoted fields, embedded commas, and doubled-quote escapes are handled for you.
Where Is This Useful?
How to Use
- Paste CSV with a header row in the left panel (or try the sample)
- Click Convert to JSON or press Ctrl+Enter
- Copy formatted JSON or download as
.json
Example
name,role,active "Smith, Jane",admin,true Bob,user,false
[
{ "name": "Smith, Jane", "role": "admin", "active": "true" },
{ "name": "Bob", "role": "user", "active": "false" }
]Features
- Header row → JSON keys on every object
- RFC-style double-quote wrapping and
""escape inside quoted cells - Pretty-printed JSON output with syntax-friendly structure
- Download as
.jsonin one click - Recent-input history (stored locally)
- 100% private; no server upload
Frequently Asked Questions
Does the CSV need a header row?
Yes. The first row is treated as column names and becomes keys on each JSON object.
What about commas inside cells?
Wrap those cells in double quotes per RFC-4180 style. The parser handles escaped quotes ("") inside quoted fields.
Are numbers parsed as numbers?
All cell values are returned as strings so you keep exact spreadsheet text. Convert types in your application if you need numbers or booleans.
Is my CSV uploaded anywhere?
No. Parsing runs entirely in your browser.
Related Tools