Converter

Convert CSV to JSON

Turn a CSV into JSON — as JSON Lines, one object per row, with keys from the header — entirely in your browser, with nothing uploaded.

Runs in your browser · nothing is uploaded · no signup

How to convert CSV to JSON

  1. 1

    Open the free web viewer — no install, no account.

  2. 2

    Drag in your .csv file. The delimiter, header, and column types are detected automatically.

  3. 3

    Choose Export → JSON to save a JSONL file — one JSON object per row.

Turn a spreadsheet-style CSV into JSON your code can consume. This page converts CSV to JSON Lines (.jsonl) in your browser — one JSON object per row, with keys taken from the header. Nothing is uploaded.

How the conversion works

The CSV's header row becomes the JSON keys, and each data row becomes one object on its own line. So a CSV like:

  • id,name,active
  • 1,Ada,true

becomes {"id": 1, "name": "Ada", "active": true}. Column types are inferred as the CSV loads, so numbers and booleans come out as JSON numbers and booleans rather than quoted strings.

Why convert CSV to JSON?

  • Feed APIs and JavaScript that expect JSON, not CSV.
  • Load into document databases and search engines.
  • Process line-by-line with jq or streaming tools.

Need a single JSON array instead of JSON Lines? Wrap the exported lines in [ … ] and join them with commas.

Private by design. Your file is read and converted locally — in your browser on the web, or on-device in the macOS app. The contents are never uploaded to us or to any third party. Read our privacy policy.

How large a file can I convert? The free web viewer exports up to 1,000 rows — plenty to try it out or convert small files. Pro raises that to 100,000 rows in the browser, and the macOS app exports files of any size, from a few rows to hundreds of millions, with the same local-only privacy.

Frequently asked questions

Is the output an array or JSON Lines?

JSON Lines (.jsonl) — one object per row. For a single array, wrap the lines in square brackets separated by commas.

Are numbers kept as numbers?

Yes. Types are inferred from the CSV, so numeric and boolean columns are emitted as JSON numbers and booleans, not quoted strings.

Is it free, and is it private?

Yes to both — free for up to 1,000 rows, and the file is converted locally in your browser with nothing uploaded. See our privacy policy.

Does it handle TSV?

Yes — tab-separated files are auto-detected and convert the same way.

Open your file in seconds — right in the browser

No upload, no signup, no install. Your data is read locally on your device and never sent to us.