CSV ↔ JSON Converter
Convert CSV to JSON and JSON to CSV both ways, instantly. 100% in your browser, no uploads.
CSV
JSON
Built by
Miguel Ángel Colorado Marin (MACM)
Built by
Miguel Ángel Colorado Marin (MACM)
Full-Stack Developer · Guadalajara, España
I develop web apps, digital tools and full projects — from design to deployment.
How to convert CSV to JSON or JSON to CSV?
- 1
Choose the direction
Select CSV → JSON or JSON → CSV with the buttons at the top. You can switch anytime.
- 2
Paste your data
Paste your CSV (with the first row as header) or your JSON (array of objects) into the left box.
- 3
Convert
Click Convert. The tool auto-detects numbers and respects quotes and comma fields.
- 4
Copy or download
Copy the result to clipboard or download it as a .json or .csv file.
Frequently asked questions
Is my data uploaded to a server?
No. All conversion happens in your browser with JavaScript. Nothing is sent to any server or stored.
Does it support fields with commas or line breaks?
Yes. The CSV parser respects quoted fields with commas, escaped double quotes and line breaks inside quotes.
Does it convert numbers automatically?
When going from CSV to JSON, values that are numbers are converted to number type; the rest stays as text.
What format should the JSON have?
An array of flat objects, for example [{"name":"Ana","age":30}]. CSV headers are taken from the keys.
Related tools
Embed CSV ↔ JSON Converter on your site
Add CSV ↔ JSON Converter to any web page with a simple iframe. Free, with attribution to miguelacm.es.
<iframe
src="https://miguelacm.es/embed/csv-json-converter"
width="100%"
height="700"
frameborder="0"
title="CSV ↔ JSON Converter — miguelacm.es"
></iframe>View embed in new tab →