CSV ↔ JSON converter

Runs entirely in your browser. The first CSV row is treated as column headers.

What is CSV ↔ JSON converter?

CSV (spreadsheet-style rows and columns) and JSON (nested key-value data) are the two most common data interchange formats, and converting between them is a routine step when moving data between a spreadsheet and an API.

How to use it

Paste CSV to convert it to an array of JSON objects (using the first row as keys), or paste a JSON array to convert it back to CSV.

Example

name,role\nAlex,Sysadmin becomes [{"name": "Alex", "role": "Sysadmin"}]