CSV to JSON Converter

Convert CSV, TSV or an Excel file to JSON: an array of objects, arrays or columns, with numbers and true/false typed and nested keys from dotted headers.

Paste cells or a Google Sheets link

Output


        

How it works

  1. Add your CSV

    Drop in a file, paste cells copied from Excel or Google Sheets, or paste a Google Sheets link.

  2. Check the table

    Every column is shown with what it holds - numbers, dates or text - so you can see it was read right before you save it.

  3. Download the JSON

    Or copy it, or send it straight to a new Google Sheet. Nothing is uploaded at any point.

CSV to JSON converter

  • csv to json
  • csv to json converter
  • convert csv to json
  • excel file to json
  • export csv to json
  • csvjson
  • free csv to json converter
  • excel to csv to json converter free
  • excel to csv to json online

CSV to JSON here turns each row into an object keyed by the header, with numbers and true/false written as real JSON values, not strings. Quoted cells, commas and line breaks inside cells are read to the CSV standard, so nothing lands in the wrong key.

This csv to json converter writes the shape you need: an array of objects, an array of arrays, an object of columns, or an object keyed by the first column, and JSON Lines for streaming and BigQuery. A header like address.city can build nested objects.

To convert csv to json, drop in the file or paste the text, pick the shape and download. It also takes an excel file to json: drop in an .xlsx and choose the sheet.

Need to export csv to json for an API, a web app or a database seed? Copy the result straight to the clipboard. If you have used csvjson before, this does the same job - and never uploads your data.

A free CSV to JSON converter: the header row becomes the keys, numbers and true/false keep their types. Starting from a spreadsheet? Excel to CSV to JSON online: drop the .xlsx on the Excel to JSON page. An Excel to CSV to JSON converter free of installs.

How to convert CSV to JSON

  1. Drop in a CSV, TSV or Excel file, or paste the data.
  2. Choose the JSON shape, typed values and indent.
  3. Download the .json file or copy it.

People also search for

  • json to csv
  • excel to json
  • csv to json array
  • csv to json online
  • tsv to json

Why it matters

Private by design

Bank statements, payroll and customer lists never leave your computer: the file is read and written in your browser.

Nothing silently changed

Leading zeros, long ID numbers, commas inside quotes and line breaks inside cells come through exactly as they were.

Numbers stay numbers

Values like 1,234.50, $1,200 and 7% are recognised, so Excel and JSON get real numbers rather than text.

Questions

Are commas, quotes and line breaks inside cells handled?

Yes. Cells are read and written to the CSV standard (RFC 4180): a cell with a comma, a quote or a line break is quoted, and quotes inside are doubled, so nothing splits into the wrong column.

Will leading zeros and long numbers survive?

Yes. Cells are kept as the text they were: 00123 stays 00123 and a 16-digit account number is not turned into 1.23E+15. In Excel output, such cells are stored as text for exactly that reason.

Does it work with Google Sheets?

Paste a Google Sheets link (shared as "Anyone with the link") or copy the cells and paste them. To send a result to Google Sheets, use Open in Google Sheets: the table is copied and a new sheet opens, ready for Ctrl+V.

Is my data uploaded?

No. The whole conversion runs in your browser, so the file never leaves your computer.

Can it open a password-protected PDF or Excel file?

Yes. Drop it in and you are asked for the password; the file is unlocked in your browser and the password is never sent or saved. PDFs locked with RC4 or AES (up to AES-256, PDF 2.0) and Excel workbooks saved with Encrypt with Password both open. A PDF that only restricts copying or printing opens without asking. Without the password nothing is guessed: the file stays shut.

How big a file can it handle?

Hundreds of thousands of rows are fine on a normal laptop; the preview shows the first rows and the download has them all.