Skip to main content
SwiftTools

CSV to JSON

Free CSV to JSON converter. Convert a CSV table into structured JSON, with quoted fields handled correctly.

Objects
2
[
  {
    "name": "A",
    "age": "1"
  },
  {
    "name": "B",
    "age": "2"
  }
]

CSV is parsed locally with an RFC 4180 parser. Nothing is uploaded.

About CSV to JSON

Paste a CSV table and get valid JSON array of objects instantly, handling quoted fields and commas. Fully local, nothing uploaded.

How to use it

  1. 1Paste your CSV.
  2. 2Read the JSON output.
  3. 3Copy or download it.

Examples

Table

Input
name,age
A,1
B,2
Result
[{"name":"A","age":"1"}]

Frequently asked questions

Are numbers kept as numbers?

CSV is text, so values are returned as strings by default. Trim whitespace and parse explicitly if you need typed numbers.