WizzyTools

Convert between CSV and JSON online

Works offline · never uploaded

Convert CSV to JSON or JSON to CSV instantly in your browser, with full quoted-field support.

Updated

/ 5 - Be the first to rate this tool Thanks for rating!

Verification failed - please try again.

How it works

  1. 1

    Choose CSV to JSON or JSON to CSV.

  2. 2

    Paste the data.

  3. 3

    Press the direction button to convert it.

  4. 4

    Copy the result.

About the CSV ↔ JSON

Spreadsheets export CSV, while APIs, scripts and NoSQL databases want JSON. This converter turns CSV with a header row into an array of JSON objects and turns an array of objects back into CSV. Its parser understands quoted fields, so values that contain commas, quotes or line breaks survive the trip intact.

What you can do

  • Convert CSV to a JSON array of objects, using the first row as keys.
  • Convert a JSON array of objects to CSV, with every key that appears in any object as a column.
  • Handle quoted fields that contain commas, line breaks or doubled quotes.
  • Quote output fields that need it, and fill missing values with empty cells.
  • Swap the output into the input to switch direction.

When it works best

  • Importing a spreadsheet export into a script, seed file or API request.
  • Opening an API response in Excel or Google Sheets by turning it into CSV.
  • Preparing test data in a spreadsheet and turning it into JSON fixtures.

Things to know

  • Data is converted in your browser and never uploaded.
  • Only commas are recognised as separators; semicolon or tab-separated files need converting first.
  • Every CSV value becomes a JSON string, including numbers and true or false.
  • Nested objects and arrays are not flattened when making CSV. For a Markdown table, use the Markdown Table Generator.

Frequently asked questions

No, only commas are recognised.

No, every CSV value becomes a string.

Yes, when they are quoted.

Every key becomes a column and missing values are left empty. Nested values are not flattened.