Skip to content
FreeToUse

CSV to JSON Converter — Free

Convert CSV to JSON and JSON to CSV instantly. Auto-detects delimiters and headers. Free, private and works with large files.

Runs in your browser. Nothing you enter is sent anywhere.

Direction

About CSV ↔ JSON

Move data between spreadsheets and code. Convert a CSV export into an array of JSON objects for an API or script, or flatten JSON records into a CSV file you can open in Excel or Google Sheets.

How to use CSV ↔ JSON

  1. Choose a direction: "CSV → JSON" or "JSON → CSV".
  2. Paste your data, or load a .csv or .json file.
  3. Adjust options such as the delimiter or whether the first row contains headers.
  4. Click "Convert", then copy or download the result.

Tips

  • Exports from European versions of Excel often use semicolons; leave the delimiter on Auto to detect it.
  • Tick "Convert numbers" to turn values such as "42" into real numbers in the JSON output.
  • Large files (tens of megabytes) work fine, but the preview shows only the first part to stay fast.
  • When converting JSON with nested objects, columns such as address.city are created automatically.

CSV to JSON

Each row becomes an object and the header row supplies the property names, which is the format most APIs, scripts and databases expect. Turn the header option off if your file starts with data straight away; you then get an array of arrays. Values stay as text unless you tick "Convert numbers". Leave that off for phone numbers, postcodes and product codes so that leading zeros survive.

JSON to CSV

Paste an array of objects to get a table. Every property found in any object becomes a column, and missing values are left empty. Nested objects are flattened into columns such as address.city, simple lists are joined with semicolons, and lists of objects are kept as JSON text in one cell. Choose the semicolon delimiter if the file will be opened in a European version of Excel.