CSV to JSON Converter

Turn CSV and spreadsheet data into JSON. Private, in your browser.

Input

Output

Ready
Ln 1, Col 1

Convert CSV to JSON

Paste CSV exported from Excel, Google Sheets or a database, and get a JSON array with one object per row. The first row provides the keys. Because the result is JSON, you can also convert it onward to YAML, XML or code.

How to use it

  1. Paste CSV into the Input panel (already in CSV mode), or open a .csv file.
  2. The JSON array appears in the Output panel.
  3. Copy or download it, or choose another format from Convert.

How CSV is converted

  • Delimiter detection for commas, semicolons, tabs and pipes.
  • Quoted fields with embedded commas, quotes and line breaks (RFC 4180).
  • Numbers, true/false and null become JSON types; empty cells become null.
  • Dotted headers like address.city become nested objects.

More JSON tools

All tools are free and run privately in your browser.

CSV to JSON FAQ

How do I convert a CSV file to JSON?

Open the file with the upload icon or drop it onto the Input panel. .csv files switch the input to CSV mode automatically.

Are numbers kept as numbers?

Yes. Values that look like numbers or booleans are converted. Very long digit strings, such as IDs, stay as strings so no precision is lost.

Is my data uploaded to a server?

No. The CSV to JSON runs entirely in your browser using JavaScript. Your data is never uploaded, logged or stored, and the tool keeps working offline after your first visit.