Skip to content

CSV to JSON Converter

Paste or open a CSV file and get a clean JSON array of objects.

Open a .csv file
or paste below — nothing is uploaded

This converter turns comma-separated data into JSON. With a header row, each line becomes an object whose keys are the column names; without one, you get an array of arrays. Numbers, true, false and null can be turned into real JSON types, or kept as strings if you need exact values such as ZIP codes and phone numbers.

The parser follows the CSV rules used by Excel and Google Sheets: fields wrapped in double quotes may contain commas, line breaks and doubled quotes (""). Semicolon, tab and pipe delimiters are detected automatically. Files are read and converted in your browser, so customer lists and exports stay private.

How to use the CSV to JSON tool

  1. Paste CSV into the input box, or click Open a .csv file to load one.
  2. Check the delimiter (auto-detect usually gets it right) and whether the first row is a header.
  3. Choose whether to detect numbers and booleans, and pick an indent.
  4. Review the table preview and the JSON output.
  5. Click Copy or Download .json.

Why use ToolOrca CSV to JSON

  • RFC 4180 quoting: commas and newlines in quotes
  • Auto-detects comma, semicolon, tab and pipe
  • Header row to object keys
  • Optional number and boolean detection
  • Table preview of the first rows
  • Local processing, no upload

Tips for clean CSV to JSON conversion

Exported spreadsheets from European versions of Excel often use semicolons because the comma is the decimal separator; auto-detect handles this. Empty header cells become column1, column2 and so on, and duplicate column names get a numeric suffix so no data is lost.

Turn off Detect numbers when values like 00123 or long IDs must stay exactly as written. Numbers with leading zeros and values longer than 15 digits are always kept as strings to avoid precision loss.

Frequently asked questions

How do I convert an Excel file to JSON?

In Excel or Google Sheets choose File → Save as / Download → CSV, then open that CSV here. The JSON output uses your column headings as keys.

What happens to commas inside a value?

If the value is wrapped in double quotes, as spreadsheets do automatically, the comma is kept as part of the value and does not start a new column.

Is there a file size limit?

There is no fixed limit. Files of several megabytes convert in a moment; very large files depend on your device’s memory because everything runs in the browser.

Can I convert JSON back to CSV?

Yes, use the JSON to CSV converter, which also flattens nested objects into columns.