Skip to main content

Free CSV to JSON

Convert CSV (or TSV) into JSON — array of objects or arrays — with a proper RFC 4180 parser, delimiter auto-detection, and type conversion. Runs in your browser.

Works offline once loaded

Drop a CSV file (or paste below)

CSV, TSV, TXT · processed on your device

or press Ctrl+V to paste from your clipboard

Browse files
JSON
—
Delimiter
Output

💡 A proper RFC 4180 parser — handles quoted fields, commas and line breaks inside quotes, and escaped quotes. With 'first row is a header' on, you get an array of objects; off, an array of arrays. Everything runs in your browser. Type conversion is off by default so IDs like ZIP codes (02138), leading-zero codes, and very long numbers keep their exact text — enable 'Convert numbers & booleans' only when you want typed values.

Common uses

  • Convert CSV to JSON for an APITurn a spreadsheet export into JSON your code or API can consume.
  • Convert Messy CSV with Quotes and CommasParse CSV that has commas, quotes, or line breaks inside fields.
  • Convert TSV (Tab-Separated) to JSONParse tab-separated data copied from a spreadsheet.
  • Prepare CSV Data for ImportConvert a CSV into JSON to seed a database or load into an app.
  • Quickly Inspect CSV as JSONSee CSV rows as structured JSON objects while developing.

How It Works

CSV looks simple but is full of edge cases — quoted fields, commas inside quotes, line breaks inside cells. This uses a proper RFC 4180 parser so those all work, entirely in your browser.

  1. 1
    You paste CSV or drop a file
    The delimiter (comma, semicolon, tab, or pipe) is auto-detected, or you can set it manually. Nothing is uploaded.
  2. 2
    It's parsed correctly
    Quoted fields, escaped quotes (""), and delimiters/newlines inside quotes are all handled per the CSV spec.
  3. 3
    You choose the shape
    With a header row, each line becomes an object keyed by the headers; without, an array of arrays. Optionally convert numbers and booleans to real types.
  4. 4
    Copy or download JSON
    Get clean, indented JSON ready for your code.

CSVs frequently hold contacts, transactions, and other personal data. Parsing happens entirely on your device — none of it is uploaded.

Related Tools

Frequently Asked Questions