Follow Us

CSV to JSON Converter

Turn CSV data from Excel, Google Sheets or any export into a clean JSON array. The header row becomes the keys, and quotes, commas and line breaks inside cells are handled correctly.

JSON Output
JSON to CSV

Runs in your browser — your code is never uploaded. Tip: drop a file on the input box, or press Ctrl + Enter.

How to Convert CSV to JSON

Spreadsheet data to JSON in three steps.

1

Paste or Upload CSV

Paste CSV, upload a .csv file, or drop it in the box. The separator is detected automatically.

2

Choose the Output

Use the first row as keys, pick objects or arrays, and convert numbers and true/false.

3

Copy or Download

Copy the JSON or download data.json.

Separator

Auto-detected

Handles

Quotes & line breaks

Types

Numbers & booleans

Privacy

Runs in your browser

Works on

Phone & computer

Price

100% free

CSV to JSON Example

How rows and values are converted.

CSVJSON
id,name
1,Asha
[{"id": 1, "name": "Asha"}]
"O'Brien, Liam""O'Brien, Liam" (comma inside quotes kept)
true / falsetrue / false (with Convert on)
00123"00123" — leading zeros kept as text
Empty header cellNamed column_3 automatically
Duplicate header name,namename and name_2

What Can You Use It For?

Popular ways people use CSV to JSON Converter.

Web & App Data

Load spreadsheet data into JavaScript, React or Vue apps.

APIs & Imports

Prepare JSON bodies for API calls and bulk imports.

NoSQL Databases

Import into MongoDB, Firebase or Elasticsearch.

Testing

Turn test data sheets into JSON fixtures.

Tips for the Best Result

  • Leading zeros (like zip codes and phone numbers) are kept as text so no data is lost.
  • If everything ends up in one key, choose the separator by hand — some European files use semicolons.
  • Copied cells from Google Sheets are tab-separated — Auto-detect handles that too, or use TSV to JSON.
  • Have an .xlsx file? Convert it with Excel to CSV first.

Frequently Asked Questions

Quick answers about CSV to JSON Converter.

Paste the CSV or upload a .csv file. The JSON appears instantly — copy it or download data.json.

Yes, when First row is header is ticked. Untick it to get an array of arrays with every row.

Comma, semicolon, tab and pipe. Auto-detect picks the right one for most files.

Yes. The parser follows the CSV standard (RFC 4180): quotes, commas and line breaks inside quoted cells are kept correctly.

With Convert numbers & true/false on, plain numbers become JSON numbers. Values with leading zeros stay text.

Save or convert it to CSV first with our Excel to CSV tool, then paste it here.

No. Everything runs in your web browser, so your code and data never leave your device.

Yes — 100% free, with no sign-up and no limits.

Related Free Tools

Ready to Use CSV to JSON Converter?

Scroll up and get your result in seconds. 100% free, no sign-up needed.

Start Now

Ad Blocker Detected

Toolszu provides free access to over 1,000 tools. We rely on minimal ads to maintain our servers and keep improving the site for everyone.

Please pause or disable your ad blocker to continue using Toolszu.

or
Go ad-free — from $19/year

Already have a plan? Sign in