ToolJovia
Data

CSV to JSON

Convert a header-based CSV table into JSON records while preserving every cell as text.

✓ Browser-local processing

Loading tool…

How to use CSV to JSON

Move spreadsheet-style data into a JSON array without silently changing IDs, dates, or leading zeros. The first record supplies unique property names and all later records must have matching widths.

  1. Paste CSV with one non-empty, unique header row and choose its delimiter.
  2. Select Run tool to create a JSON record for every data row.
  3. Review the result, then copy it or download the generated file.

Good to know

  • Up to 200,000 characters, 5,001 records, 200 columns, and 50,000 characters per cell. Quotes must follow CSV rules; output CSV uses formula-safe apostrophe prefixes where needed.
  • All cells remain strings, including empty cells. Header names are case-sensitive and no type inference is performed.
  • Malformed quotes report the logical record and field plus the physical line and UTF-16 column in the original input. Unclosed fields point to their opening quote; no repair is applied.
  • JSON output is limited to 1,000,000 characters. Long column names repeat in each record and may require splitting a table into smaller batches.

Keep a quoted multiline cell and a leading-zero ID

Choose the comma delimiter and paste this CSV, including the newline inside the quoted note. The header becomes JSON property names and each cell stays a string; the ID is not automatically converted to a number.

Comma-separated CSV

name,note,id
Ada,"First line
Second line",0012

JSON record

[
  {
    "name": "Ada",
    "note": "First line\nSecond line",
    "id": "0012"
  }
]
Try this in the tool

Need JSON records that match an agreed schema? Ask about a specific column mapping or a reproducible CSV parsing issue. For a suitable task, we can quote a JavaScript/TypeScript patch, agreed regression cases and expected results, plus acceptance and run instructions. Ask about a paid data fix. Scope, fee, deadline and payment terms are agreed before work starts. We use AI assistance; this converter is our own work, not a customer project. Share only public or synthetic examples. This tool stays free.

Common questions

Why is 00123 still a string?

Converting it to a number would lose the leading zeros, so cell text is deliberately preserved.

Keep going with related tools

All data →