JSON

CSV to JSON Converter

Paste or drop a CSV file and get clean, structured JSON back, with automatic type detection for numbers and booleans.

Did this tool save you some time? A quick testimonial helps a lot.

Share your experience

About this CSV to JSON Converter

Paste or drop a CSV file and get clean, structured JSON back, with automatic type detection for numbers and booleans. Common questions — like need the opposite conversion — are answered in the FAQ below.

Usage and privacy

How to use it

Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.

Private by design

CSV to JSON Converter runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.

CSV to JSON Converter examples

A few worked examples so you know what to expect before you paste in your own input. Need the reverse workflow? You can also convert JSON to CSV.

Simple CSV

Input

name,age
Ada,30
Grace,34

Output

[
  { "name": "Ada", "age": "30" },
  { "name": "Grace", "age": "34" }
]
Quoted field containing a comma

Input

city
"Springfield, IL"

Output

[
  { "city": "Springfield, IL" }
]
Three columns

Input

id,name,active
1,Ada,true
2,Grace,false

Output

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

Frequently Asked Questions

Related Tools