CSV ↔ JSON Converter

CSV ↔ JSON Converter
About CSV & JSON

CSV (Comma-Separated Values) is a simple format for tabular data, commonly used in spreadsheets and databases.

JSON (JavaScript Object Notation) is a flexible data format ideal for APIs and modern applications.

Features
  • Bidirectional conversion
  • Custom delimiters support
  • Header row detection
  • Number parsing option
  • File upload & download
  • Quoted field handling
Tips
  • For Excel, use semicolon delimiter
  • Quoted values preserve commas
  • Enable "Parse numbers" for numeric data
  • JSON array must contain objects

CSV to JSON and Back

Paste CSV or upload a file and get JSON keyed by the header row - or go the other way and flatten JSON into CSV for a spreadsheet. The parser handles quoted fields, embedded delimiters and the usual separator variants (comma, semicolon, tab, pipe), which covers most of the malformed exports you will actually meet.

The two formats make opposite trade-offs - CSV is compact and streams well, JSON carries structure and types. Which one to exchange data in, and when, is the subject of CSV vs JSON for data exchange. Once converted, the JSON formatter validates and pretty-prints the result.

CSV/JSON Questions

CSV is a flat table format - one row per line, values separated by commas. JSON is structured and supports nested objects and arrays. CSV works everywhere (Excel, databases, R, pandas). JSON is native to web APIs and JavaScript. Convert CSV to JSON when your code needs structured data from a spreadsheet.

When importing spreadsheet or database export data into a web API or JavaScript app. When your data has enough structure that flat CSV is awkward. When the receiving system expects JSON. For the reverse (JSON to CSV), use it when you want to open structured data in Excel or a database tool.

Comma is the standard. European locales often use semicolons (comma is their decimal separator). Tab-delimited (TSV) avoids quoting issues when values contain commas. Pipe-delimited is rare but useful for data with many commas. Match whatever your source or target expects.