Convert CSV data to JSON arrays or JSON back to CSV — in both directions. Paste your data, pick a direction, and get an instant result. All processing happens in your browser; your data never leaves your machine.
CSV (Comma-Separated Values) is the universal format for tabular data: spreadsheets, database exports, analytics reports, and any flat list of records. JSON (JavaScript Object Notation) is the default data exchange format for modern web APIs, JavaScript applications, and NoSQL databases. While they both represent structured data, they belong to different worlds — CSV is at home in Excel and ETL pipelines, JSON in REST APIs and front-end code.
Converting CSV to JSON turns each row into an object (using the header row as keys), making the data immediately usable in JavaScript, Node.js, Python, or any REST API. Going the other direction — JSON to CSV — lets you export API responses or database records into a format that can be opened in spreadsheet applications, shared with non-technical stakeholders, or fed into data pipelines.
.json / .csv
""
; as delimiter instead of ,
{}
[]
null in the JSON output
CSV is a simple flat format, while JSON supports nested objects and arrays. This tool converts a flat CSV into a flat array of objects (one per row), and vice versa. If your JSON contains nested objects or arrays within fields, those will be stringified when converted to CSV — there is no single universal way to flatten deeply nested JSON into tabular form.
For complex transformations — such as flattening nested API responses or pivoting data — a purpose-built script using csv-parse (Node.js), Python's csv module, or pandas will give you full control over the mapping. This tool covers the most common case: a simple array of flat records in both directions.