Yuzool

Dev Tools

CSV to JSON converter

Paste CSV to get a JSON array of objects, one per row, using the first row as keys; or switch direction to turn JSON into CSV for a spreadsheet. Commas, semicolons, tabs and quoted fields are handled.

An example

This CSV:

CSVJSON
name,age,member
Ann,31,true
Bo,,false
[{"name":"Ann","age":31,"member":true},{"name":"Bo","age":null,"member":false}]

With Numbers and true/false ticked, 31 becomes a number, true a boolean and an empty cell null; untick it to keep every value as text.

JSON to CSV

Paste an array of objects. Every key found becomes a column, and nested objects are flattened with dots, so {"address": {"city": "Leeds"}} becomes a column address.city. Lists inside a row are written as JSON in one cell.

How to use it

  1. Pick CSV → JSON or JSON → CSV.
  2. Paste the data, or open a .csv or .json file.
  3. Check the table, then copy or download the result.

Questions

What if my CSV uses semicolons?

The separator is detected from the first lines (comma, semicolon, tab or pipe). Excel in many European countries saves with semicolons; pick it by hand if detection gets it wrong.

Are quotes and commas inside values handled?

Yes. "Smith, Jo" stays one value, and "" inside quotes is a literal quote, as in RFC 4180.

Is my data uploaded?

No. It’s converted in your browser.

Related tools

Open all 35 Dev Tools. Everything runs in your browser; nothing you paste is uploaded.

Settings

History

Snippet