CSV / JSON Converter

Convert between CSV and JSON formats instantly. Supports custom delimiters.

Runs locallyNo sign-upKeyboard first
InputCSV with a header row
OutputJSON
[
  {
    "name": "John Doe",
    "email": "john@example.com",
    "age": "30",
    "city": "New York"
  },
  {
    "name": "Jane Smith",
    "email": "jane@example.com",
    "age": "25",
    "city": "San Francisco"
  },
  {
    "name": "Bob Wilson",
    "email": "bob@example.com",
    "age": "35",
    "city": "Chicago"
  }
]
Converted to JSON3 rows4 columns140 B → 327 BProcessed locally

What is CSV to JSON Conversion?

CSV (Comma-Separated Values) to JSON conversion transforms tabular data into structured JSON objects. CSV files use rows and columns separated by commas, while JSON represents data as nested objects and arrays. This converter handles custom delimiters, quoted fields, headers, and can also convert JSON arrays back to CSV.

Common use cases

  • Converting spreadsheet exports to JSON for API consumption
  • Transforming database CSV dumps into JSON format
  • Preparing data for JavaScript applications and visualizations
  • Converting log files from CSV to structured JSON
  • Migrating data between systems with different format requirements

How to use

  1. 1Paste CSV with a header row (or a JSON array and switch to JSON → CSV), or drop a file.
  2. 2Choose the delimiter; the output converts live and errors point to the line.
  3. 3Press Convert ⌘↵ to copy, Download the file, or Swap to convert back.

Frequently asked questions

How does the converter handle commas in field values?

Fields containing commas, quotes, or newlines should be enclosed in double quotes in CSV. The converter properly handles quoted fields, escaped quotes (""), and multiline values according to RFC 4180.

Can I use a different delimiter?

Yes. Besides commas, you can use tabs (TSV), semicolons, pipes, or any custom delimiter. European CSV files often use semicolons because commas are used as decimal separators in many European countries.