CSV to JSON Converter

Convert spreadsheet data in CSV format to JSON.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the csv to json converter

  1. Paste your data in the top box.
  2. Check the separator matches your CSV (comma, semicolon or tab).
  3. Copy or download the converted result.

How the conversion works

The first row of the CSV is used as the field names. Every following row becomes one JSON object, and all the objects are placed in an array:

name,age / Ana,34 becomes [{"name": "Ana", "age": 34}]

Details handled for you

  • Quoted fields: a value wrapped in double quotes may contain commas and line breaks, as in "New York, NY".
  • Escaped quotes: two double quotes inside a quoted field ("") become one.
  • Separators: choose comma, semicolon (the default for Excel in much of Europe) or tab (for data copied directly from a spreadsheet).
  • Types: with the option ticked, 34 becomes a number, true and false become booleans, and empty cells become null. Values with leading zeros, such as zip codes and phone numbers, stay as text so nothing is lost.

Getting CSV out of Excel or Google Sheets

In Excel choose File → Save As → CSV UTF-8. In Google Sheets choose File → Download → Comma-separated values. Or simply select the cells, copy, paste here and set the separator to Tab.

Frequently asked questions

Is there a size limit?

No fixed limit. Files of several megabytes convert without trouble on a normal computer.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools