Free CSV to JSON Converter
Convert CSV to JSON or JSON to CSV. Uses PapaParse for robust handling of quoted fields, embedded commas, and various line endings.
Try this example
You exported some data as CSV from a spreadsheet and need to feed it into a script that expects JSON.
Sample input
name,age,city Ada,36,London Grace,42,New York
Steps
- 1Pick CSV → JSON.
- 2Paste the CSV (including the header row).
- 3Copy the resulting JSON array of objects and use it in your script.
Expected result
[
{"name": "Ada", "age": "36", "city": "London"},
{"name": "Grace", "age": "42", "city": "New York"}
]How to use
- 01Pick CSV → JSON or JSON → CSV.
- 02Paste your data into the input box.
- 03Copy the converted output.
FAQ
Does it handle quoted fields?▼
Yes. CSV fields wrapped in quotes can contain commas, line breaks, and escaped quotes. PapaParse handles all RFC 4180 cases.
What if my CSV has no header row?▼
The first row is treated as headers. If you do not want that, prepend a fake header row before pasting.
Is my data sent anywhere?▼
No. PapaParse runs in your browser. Open DevTools → Network → confirm zero requests.