Logo JSON Parser Online

Convert CSV to JSON Online

Paste CSV data and click Convert. The first row is treated as the header and becomes the keys of each JSON object. Each subsequent row becomes one object in the output array. Supports comma, semicolon, tab, or any custom delimiter.

All JSON Tools

28 tools

Free, fast, runs in your browser. No login needed.

Made with ❤️ in India · © 2025 parsejsononline.com
INPUT
1
OUTPUT
1
✅ Ready
Characters: 0
Ctrl+Enter to run
What is this tool?

How to use

  1. Paste your CSV into the INPUT pane. The first row must be the header row.
  2. Enter the delimiter character in the input field (default is ,). Use \t or a tab character for tab-separated files.
  3. Click Convert.
  4. The output is a JSON array of objects — one object per row.

How it works

The converter reads the first line as column headers and maps each subsequent line to an object using those headers as keys. Each row becomes one element in the output JSON array.

Delimiter. The default delimiter is a comma. You can change it to any character — semicolon for European-locale spreadsheet exports, tab for TSV files, or a pipe character for pipe-delimited data.

Quoted fields. The parser handles fields wrapped in double quotes — commas inside a quoted field are treated as literal characters, not delimiters. However, the "" escape for a literal double quote within a quoted field is not supported. If your CSV contains double-quote characters inside field values, those may not parse correctly.

All values are strings. The converter does not coerce types. A column containing 42 will produce the string "42", not the number 42. If you need type inference, process the JSON output and convert fields manually.

Missing values. If a row has fewer fields than the header, the missing fields default to an empty string "".

Common use cases: importing a spreadsheet export into a JSON-based pipeline; converting database exports to JSON for API testing; preparing tabular data for a tool that expects a JSON array of objects.

FAQ

What does the first row need to contain?

The first row must be the header row — the column names that become the keys of each JSON object. If your CSV has no header, add one manually before converting.

Are numeric values converted to numbers?

No. All values are output as strings. A cell containing 42 becomes the string "42" in the JSON. You will need to coerce types manually if your downstream tool requires numbers.

How do I handle tab-separated files (TSV)?

Change the delimiter field to a tab character. Copy a tab character from your text and paste it into the delimiter field, or enter the tab key directly in the input.

What if my CSV has quoted fields with commas inside?

Quoted fields are supported — a comma inside double quotes is treated as a literal value, not a delimiter. However, doubled double-quotes ("") inside a quoted field are not handled — those may produce incorrect output.

Can I convert back from JSON to CSV?

Yes. Use the JSON to CSV tool on this site.

Is my data sent anywhere?

No. The conversion runs entirely in your browser.

Related tools

JSON to CSVConvert a JSON array back to CSV format. JSON FormatterFormat the converted JSON output. Flatten JSONFlatten nested JSON objects before CSV conversion.