CSV / JSON converter
Turn CSV rows into JSON objects, and back.
Use the codeJavaScript
Loading code…
A LITTLE MORE CONTEXT
Convert CSV to JSON and JSON to CSV
Turn CSV rows into JSON objects, and back.
How to use it
- Choose a direction, paste comma-separated CSV with headers or a JSON array of flat objects, then run.
- Copy or download the result before leaving the page.
What to know
Quoted commas, escaped quotes and multiline CSV cells are supported. Headers must be unique. CSV values remain strings; nested JSON is rejected. Untrusted spreadsheet formulas require review before opening CSV. Input limit: 1 MiB.
Need to protect a message? Try text encryption ↗