CSV ↔ JSON

Convert between CSV and JSON

Loading...

About this tool

Convert data between CSV and JSON in both directions. In CSV → JSON mode, the first row becomes the keys and each following row becomes an object. In JSON → CSV mode, an array of objects becomes a table with a header.

The converter handles the tricky parts of CSV: quoted fields, commas and line breaks inside values, and escaped quotes. Useful for migrating spreadsheet data to and from APIs.

How to use

  1. Choose the direction (CSV → JSON or JSON → CSV).
  2. Paste your data into the text area.
  3. Click Convert to see the formatted result.
  4. Copy the output or share a link with the content.

Frequently asked questions

Which delimiter is used?

The comma, the standard CSV separator.

What if objects have different keys?

In JSON → CSV mode the header is the union of all keys found across the objects.

Do fields with commas break the conversion?

No. Fields with commas, quotes or line breaks are handled correctly when wrapped in quotes.

Advertisement