CSV to JSON Converter
Paste CSV with headers on the first row — get a JSON array of objects. Nothing leaves your browser.
CSV input
Paste CSV with headers on the first row
JSON output
How this CSV to JSON converter works
The first row of your CSV is treated as column headers. Every following row becomes a JSON object like {"name":"Ada","age":"36"}, with values kept as strings — the same convention most CSV parsers use, so you can cast numbers where your application needs them.
Quoted fields are fully supported
CSV fields wrapped in double quotes can contain commas, line breaks and escaped quotes ("") per RFC 4180 — the standard Excel uses when it exports CSV. This converter parses all of that correctly, so messy real-world exports come out clean.
FAQ
Are numbers converted to JSON numbers?
Values stay as strings to avoid silently corrupting values like zip codes or IDs with leading zeros. Cast types in your code as needed.
What about JSON to CSV?
Use the JSON to CSV converter for the reverse direction.