CSV to JSON and JSON to CSV converter

Convert CSV to JSON or JSON to CSV: pick the separator and header row, paste your data and copy the result. Your file is never uploaded. Free, no account.

Direction

How the table reads

JSON

How to use it in three steps

Step by step, with this page's example.

  1. 01

    Paste CSV or JSON.

  2. 02

    Set the separator and headers.

  3. 03

    Copy the result in the other format.

What you enter

name,price Website,1999 "Shop, with payments",2999

What you get
[
  {
    "name": "Website",
    "price": "1999"
  },
  {
    "name": "Shop, with payments",
    "price": "2999"
  }
]

Questions

How do I convert CSV to JSON?
This converter turns CSV into JSON and JSON back into CSV in your browser. Paste the CSV, set the separator and mark the first row as headers, and you get an array of JSON objects, one per row. Paste a JSON array to go the other way.
Why does Excel save CSV with semicolons?
In regional settings where the comma is the decimal separator (Poland, Germany, France and others), Excel splits CSV columns with a semicolon. Save the file as CSV, paste it into the tool and pick the semicolon separator.
Why are numbers in the JSON text?
CSV has no types, so the tool keeps every value as text: a price of 1999 ends up in the JSON as "1999". If you need numbers, convert them in your own code after loading.
How do I keep accented characters intact in CSV?
Save the file as UTF-8. The tool works on the pasted text and changes nothing in the characters, so accented letters in the result are the same as in your data.
Does the file go to a server?
No. The conversion happens in the browser.

Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.