Free · No sign-up · Runs in browser

CSV → JSON

Parse CSV, TSV, or semicolon-separated spreadsheet data into clean JSON with intelligent type inference. Handles quoted fields, embedded commas, and newlines. 100% client-side.

CSV Input
JSON Output
// JSON will appear here…

CSV to JSON Converter

Convert any CSV, TSV, or semicolon-separated file into clean JSON. Perfect for feeding spreadsheet exports into JavaScript apps, REST APIs, Elasticsearch, MongoDB, or any JSON-expecting pipeline. Type inference turns "42" into 42, "true" into true, and "" into null.

Correctness Details

  • Standard CSV quoting: embedded commas, newlines, and "" escapes
  • Three delimiters: comma, semicolon (European Excel), tab (TSV)
  • Optional type inference for numbers, booleans, nulls
  • Empty columns auto-named col1, col2… when headerless

Common Use Cases

  • Import spreadsheet data into JavaScript tests and seeds
  • Feed CSV exports into MongoDB, Elasticsearch, or Firestore
  • Transform legacy data for REST and GraphQL APIs
  • Build analytics pipelines that expect JSON lines

FAQ

Does it handle quoted multi-line cells?

Yes. Cells enclosed in double quotes may span multiple lines; the parser preserves them.

Is my data uploaded?

No. Parsing is 100% client-side — safe for internal spreadsheets and confidential exports.

Related

Convert in the other direction with JSON → CSV, or turn CSV into a Markdown table.

RFC 4180 parsing

Quoted fields, embedded commas, and newlines all handled correctly.

Type inference

Numbers, booleans, and nulls auto-detected instead of staying strings.

Fully private

Parsing happens locally — safe for internal data.