Skip to main content
GARGLOO

CSV to JSON Converter Online – Free, Local

CSV in, JSON out — in your tab.

Runs on your deviceCSV · JSON

At a glance

Input:
CSV · JSON
Processing:
Runs locally in your browser
Privacy:
Nothing you type is sent to a server

Last updated: 2026-11-08

Common use cases

  • Turning a spreadsheet export into JSON for an API import
  • Converting a semicolon-separated European CSV into JSON
  • Checking how quoted commas and escaped quotes parse before importing data
  • Turning a small CSV table into JSON for a config file or a test fixture

About this tool

A one-way CSV to JSON converter that runs entirely in your browser: paste CSV, get a JSON array of objects with the first row as keys. Quoted fields can hold commas and newlines, the delimiter is auto-detected (comma, semicolon or tab), values are typed — numbers stay numbers, empty cells become null — and a table preview shows the result before you copy or download it. Nothing is uploaded, nothing is stored.

How to use it

  1. Paste your CSV — or load the sample to see the format.
  2. Pick a delimiter, or leave Auto-detect on; switch off “First row is headers” for a plain array of arrays.
  3. Read the JSON — Pretty for humans, Minified for code — and check the table preview.
  4. Copy the result or download it as a .json file.

Worked examples

Input: name,age Alice,30 Bob,25

Output: [{"name":"Alice","age":30},{"name":"Bob","age":25}]

First row becomes the keys; 30 stays a number.

Input: name,note "Doe, John","Loves cats, dogs"

Output: [{"name":"Doe, John","note":"Loves cats, dogs"}]

Quoted commas stay inside one field.

Input: name;age Alice;30

Output: [{"name":"Alice","age":30}]

Auto-detect picks up the semicolon.

Practical tips

  • Keep Auto-detect on for files you did not create — European exports are usually semicolon-separated.
  • Check the preview table before downloading: empty cells show exactly where a row lacked a value.
  • Need the other direction? The JSON to CSV Converter is the exact reverse — same parser, same privacy.

Common mistakes

  • Forgetting the quotes around a field with a comma — Doe, John without quotes splits into two columns.
  • Forcing comma on a semicolon file — the whole row lands in one column; switch back to Auto-detect.
  • Expecting a missing cell to vanish — empty cells become null by design, so the key stays present.

How this compares

Most online CSV converters upload your file, convert one way only, or split on every comma — quoted fields included. This one parses to RFC 4180 locally, auto-detects the delimiter, types values, and previews the table — no upload, no signup. The tradeoff: no streaming for multi-megabyte files; very large pastes convert in full but render in a capped preview. For the reverse direction, use the JSON to CSV Converter.

Good to know

  • One file at a time — batch conversions belong in a script or a spreadsheet.
  • Rows with more fields than the header have the extras ignored; rows with fewer get null for the missing keys.
  • Table preview shows the first 10 rows; the full result is in the output box and the download.
  • Dotted headers (user.name) stay literal keys — they are not unflattened into nested objects.

Frequently asked questions

Does conversion upload my data?

No. Parsing and typing all run in your browser — safe even for CSV exports with customer data you'd rather not share.

What if my CSV has commas inside a field?

Put the field in double quotes — "Doe, John" parses as one field. The parser follows RFC 4180, so quoted commas, quoted newlines and doubled quotes ("") all work; unquoted commas still split fields.

What if my CSV uses semicolons or tabs?

Auto-detect reads the header line and picks the most frequent of comma, semicolon or tab. You can also force one with the delimiter picker — useful for European exports, which are usually semicolon-separated.

How are numbers and booleans handled?

Values that look like numbers become numbers, true and false become booleans, and empty cells become null. Values with leading zeros (007, ZIP codes, IDs) stay text so nothing is silently lost.

What happens with duplicate headers?

The second one is renamed — name, name_2, name_3 — so no data is lost. Rename the headers in your CSV if you want cleaner keys.

All developer tools
CSV to JSON Converter Online – Free, Local | GARGLOO