Home › Free tools › CSV to JSON
Free data tool · Both directions

CSV to JSON converter – and JSON back to CSV

Convert CSV or Excel-copied data to JSON, or JSON arrays back to CSV. Auto-detects commas, semicolons and tabs, handles quotes and line breaks, converts numbers and true/false, and shows a table preview.

CSV ↔ JSON both waysAuto-detect delimiterTable preview + download
Table preview

How to convert CSV to JSON

  • Paste your CSV or choose a .csv file. You can also copy cells straight from Excel or Google Sheets – tabs are detected automatically.
  • Check the options: header row, number conversion and output shape.
  • Copy or download the JSON. The table preview shows exactly how your data was read.

JSON to CSV

Switch to JSON → CSV and paste an array of objects. Nested objects are flattened into columns like address.city, every key becomes a column, and values with commas, quotes or line breaks are quoted correctly. The downloaded CSV includes a UTF-8 marker so Excel shows accents and non-English letters properly.

Output shapes

OptionExampleBest for
Array of objects[{"name":"Amy","age":29}]APIs, JavaScript, most apps
Array of arrays[["name","age"],["Amy",29]]Charts and spreadsheets in code
Object keyed by first column{"Amy":{"age":29}}Quick lookups by ID or name

Need to tidy or validate the JSON afterwards? Use our JSON Formatter.

Frequently asked questions

How do I convert CSV to JSON?

Paste the CSV or choose a file. With “First row is the header” on, each row becomes a JSON object with the header names as keys.

Does it handle commas inside values?

Yes. Values in double quotes can contain commas, quotes (written as “”) and even line breaks, following the CSV standard.

Can I paste data from Excel?

Yes. Copy the cells and paste – Excel uses tabs between columns, which are detected automatically.

How are nested JSON objects converted to CSV?

They are flattened into columns with dot notation, such as address.city. Arrays are kept as JSON text in one cell.

Is my data uploaded?

No. The conversion runs entirely in your browser.

Need a website or app built?

We design and build websites and Android apps for clients worldwide – clear scope, fixed price, fast delivery.

Techpass Master Technologies · Websites, Android apps and digital marketing

WhatsApp us📞 Call now