๐Ÿ”’ Runs in your browser โ€” nothing is uploadedโœ“ Free, no signup

CSV to JSON Converter

Paste CSV or open a file to get a clean JSON array. The delimiter is detected automatically, quoted fields are handled correctly, and numbers and booleans keep their types.

JSON output

Loading...

When should you use the CSV to JSON Converter?

  • Turning a spreadsheet export into JSON for an API or seed data
  • Importing CSV data into a JavaScript or Node.js project
  • Converting European semicolon-separated Excel exports

How to use the CSV to JSON Converter

  1. 1

    Add your CSV

    Paste CSV text or click Open file to load a .csv or .tsv file.

  2. 2

    Check the options

    The delimiter is detected for you. Untick 'First row is headers' if your file has no header row.

  3. 3

    Choose types and nesting

    Keep number and boolean detection on, and tick nesting if your headers use dots like address.city.

  4. 4

    Copy or download

    Copy the JSON or download it as data.json.

Examples

CSV with a quoted comma

CSV

id,name,active
1,Ada Lovelace,true
2,"Hopper, Grace",false

JSON

[
  { "id": 1, "name": "Ada Lovelace", "active": true },
  { "id": 2, "name": "Hopper, Grace", "active": false }
]

Common errors and how to fix them

A quoted field is never closed
A value starts with a double quote but never ends with one. Find the odd quote, or double any quotes inside values ("").
Everything ends up in one column
The wrong delimiter was used. Choose Semicolon or Tab manually if auto-detect picked the wrong one.
Leading zeros or long IDs changed
They shouldn't โ€” values like 007 and IDs too large to store exactly as a number (above 9,007,199,254,740,991) stay as text. If you need every value as text, untick 'Detect numbers & booleans'.
Related tools:ย JSON to CSV Converter ยท JSON Formatter ยท JSON to TypeScript

More from JSON Tools

Free tools that run in your browser โ€” no signup, nothing uploaded.

CSV to JSON Converter FAQ

Paste your CSV or open a .csv file. With 'First row is headers' ticked, each row becomes a JSON object using the header names as keys. Copy or download the result.

Yes. Values wrapped in double quotes can contain commas, line breaks and escaped quotes (""), following the CSV standard (RFC 4180).

Yes. The delimiter is detected automatically from the first line, which covers comma, semicolon (common in European Excel exports), tab (TSV) and pipe. You can also choose it manually.

With 'Detect numbers & booleans' on, 42 becomes a number and true becomes a boolean, and empty cells become null. Values like 007 and IDs too large to store exactly as a number stay as text so they aren't changed.

Yes. Name columns with dots โ€” for example address.city โ€” and tick 'Nest dotted headers'. The value is placed inside an address object.

No. Files are read and converted in your browser, so it's safe to convert customer lists or exports.