Skip to main content

CSV ↔ JSON Converter

Convert CSV to JSON and back with quoted-field support, delimiter detection, and live preview. Everything runs in your browser.

Conversion follows RFC 4180: quoted fields may contain commas, newlines and doubled quotes, and the delimiter is detected rather than assumed. Check that the output row count matches the source before relying on it.

Tool workspace

Delimiter:

Output

2 rows
How to Convert CSV to JSON Online

Learn how to convert CSV to JSON and back locally in your browser with delimiter detection and quoted-field support.

  1. 1

    Choose a direction

    Pick CSV to JSON or JSON to CSV.

  2. 2

    Select the delimiter

    Use comma, semicolon, or tab, or let the tool detect it.

  3. 3

    Paste your data

    Add the CSV or JSON input. The output updates as you type.

  4. 4

    Copy the result

    Review the row count, then copy the converted output.

Common Use Cases
  • 1Convert spreadsheet exports to JSON for API payloads or configuration
  • 2Turn API responses into CSV for reporting or spreadsheet analysis
  • 3Clean exported data by reviewing headers and row counts locally
  • 4Prepare data lists for batch operations without uploading them

Frequently Asked Questions

Is my data uploaded when I convert it?

No. CSV parsing, JSON conversion, and delimiter detection all run in your browser. Your data never leaves your device.

Which delimiters are supported?

Comma, semicolon, and tab. The Detect button guesses the delimiter from the first line, and you can switch manually if the guess is wrong.

Does the converter handle quoted fields?

Yes. Parsing follows RFC 4180 conventions: quoted fields, escaped double quotes, and embedded delimiters or newlines inside quotes are supported.

Does the converter protect against spreadsheet formula injection?

Yes. When JSON is serialized to CSV, cells that begin with =, +, -, or @ are prefixed with an apostrophe so a spreadsheet treats them as text, while numeric values such as -5 are left unchanged. The output is visible before you download it.

What happens when rows have different column counts?

The parser reports the row where the shape diverges instead of padding or dropping data silently. Fix the source or confirm the delimiter before converting.

Related Guides

Related Tools

Your inputs remain on your device.

You are responsible for key management and output validation.