Skip to content
Kordu Tools Kordu Tools

CSV to JSON Converter

Runs in browser

Convert CSV to JSON or JSON to CSV instantly — paste data or upload a file with full delimiter and header control.

Last updated 01 Apr 2026

Convert CSV data to a JSON array of objects or convert a JSON array back to CSV. Supports comma, tab, semicolon, and pipe delimiters with auto-detect, optional header row handling, and nested output formatting. Paste data or upload a CSV file up to 50 MB. Free, browser-based, no server uploads.

Delimiter:
Loading rating…

How to use

  1. 1

    Paste CSV data or upload a file

    Paste your CSV data into the input panel, or switch to file mode to drag and drop a CSV file up to 50 MB.

  2. 2

    Configure delimiter and headers

    Set your delimiter (comma, tab, semicolon, or pipe) — or use auto-detect. Toggle the header row option to control how column names are assigned in the JSON output.

  3. 3

    Convert CSV to JSON

    Click CSV → JSON to produce a JSON array of objects. Each row becomes an object with keys taken from the header row.

  4. 4

    Or convert JSON back to CSV

    Paste a JSON array of objects and click JSON → CSV to produce a comma-separated spreadsheet with auto-detected column headers.

  5. 5

    Copy or download the result

    Click Copy to copy the output to your clipboard, or Download to save it as a .json or .csv file.

Frequently asked questions

What delimiters are supported?
The converter supports comma (,), tab (\t), semicolon (;), and pipe (|) delimiters. Auto-detect will infer the delimiter from the first few rows of your data — useful for files from different regional spreadsheet applications.
What JSON format does the CSV conversion produce?
CSV to JSON produces an array of objects where each row becomes an object and the keys come from the header row. For example, a row 'Alice,30' with headers 'name,age' produces {"name":"Alice","age":"30"}.
Does it handle quoted fields and embedded commas?
Yes. PapaParse follows the RFC 4180 CSV specification and correctly handles quoted fields, fields containing commas or newlines, escaped quotes, and multi-line values.
What JSON input is supported for JSON to CSV?
JSON to CSV expects a JSON array of objects where every element has the same keys. The converter auto-detects column headers from the first object and writes all rows. Nested objects are serialised as strings.
Is there a file size limit?
There is no enforced limit. Files are processed entirely in your browser using PapaParse's streaming parser, which handles large CSVs efficiently without loading the entire file into memory at once.
Is my data sent to a server?
No. All conversion logic runs client-side in your browser. Your files and data are never uploaded, stored, or transmitted.
Can I use this to import data into a database?
Yes. Export a CSV from Excel, Google Sheets, or your database admin panel, convert it to JSON here, then use the JSON output as the body for a REST API import endpoint or database seed script.
Does it preserve number types in JSON?
When the value looks like a number, the converter outputs it as a JSON number rather than a string. You can disable this if your data contains fields that look numeric but should remain strings, such as ZIP codes or phone numbers.
What happens with empty CSV fields?
Empty fields are represented as empty strings ("") in the JSON output by default. You can toggle null handling to output null for empty cells instead, which is more convenient for databases that distinguish missing from empty.

CSV to JSON Converter handles bidirectional conversion between CSV spreadsheet data

and JSON arrays with full control over parsing options. Paste data directly into the

editor or upload a CSV file — PapaParse handles streaming for large files so there

is no lag even with hundreds of thousands of rows.

Set your delimiter (comma, tab, semicolon, or pipe) or let auto-detect figure it out

from your data. Toggle whether the first row contains column headers: when enabled,

each CSV row becomes a JSON object with header-named keys; when disabled, keys fall

back to numeric field names.

Going the other direction is equally straightforward: paste a JSON array of objects

and click JSON → CSV to get a spreadsheet-ready output with auto-detected column

headers. Download the result as a file or copy it to your clipboard.

Useful for importing data into APIs, converting spreadsheet exports for JavaScript

apps, migrating between database formats, or quickly inspecting CSV structure as

formatted JSON. All processing runs client-side with no data sent to any server.

Related tools

Learn more