Local-first tools. Your files and text stay in your browser.

Text & Data

CSV to JSON Converter

Convert spreadsheet or export CSV into JSON for an API, fixture or script. Quoted commas, embedded newlines and duplicate whitespace are handled, and you can keep everything as strings or infer simple types.

Local processing
CSV to JSON Runs in your browser
CSV options
Output
—

How it works

  1. Paste CSV or load a .csv file up to 5 MiB.
  2. Choose automatic or explicit delimiter, header mode and type inference.
  3. Convert and review the JSON, then copy or download it.

Supported input and limits

InputCSV text, .csv data
OutputJSON array of objects, JSON array of arrays
Size limit Not applicable
OfflineVerified after the page and its script are cached
  • CSV input is limited to 5 MiB.
  • Duplicate header names resolve to the last column.
  • The parser supports RFC 4180 quoting, not arbitrary Excel formulas.

Privacy

This tool runs entirely in your browser. Your input is not uploaded, logged or stored by TinkerFern. Read the privacy policy.

Frequently asked questions

Does it handle commas inside quotes?

Yes. Cells wrapped in double quotes may contain the delimiter, doubled quotes and line breaks. The parser follows RFC 4180 behaviour rather than splitting on every comma.

How is the delimiter detected?

The first non-empty line is scanned for comma, semicolon, tab and pipe counts. The delimiter with the highest count wins; you can override it if a cell contains misleading punctuation.

Should I enable type inference?

It is off by default because leading zeros, IDs and phone numbers must remain strings. Enable it only when you want numeric, boolean and null values in the resulting JSON.

What happens to duplicate or empty headers?

Empty header names are rejected with an error. Duplicate names overwrite earlier values in the object; rename duplicates in the CSV first if both columns matter.

Is my spreadsheet uploaded?

No. Parsing and JSON generation happen in the browser. No cell values, filenames or outputs are sent to analytics or a server.

Continue with a task that often follows this one.

All tools →

Background for this task, with the trade-offs explained.

All guides →

Privacy and cookie settings

This build loads no advertising scripts and no analytics vendor. If analytics is enabled by the owner, it sends only allowlisted event names and tool IDs, never your text, files or generated output.

Analytics
Disabled in this build
Advertising
Disabled in this build
Local storage
Theme, favorite tool IDs, recent tool IDs