DevTilt

CSV to JSON

Import spreadsheet or log CSV into JSON for APIs and configs. The first row is treated as headers. Column names with dots (address.city) unflatten into nested JSON.

Result

Paste CSV with a header row, then Convert.

How to convert CSV to JSON

  1. Paste CSV with a header row in the first line.
  2. Click Convert.
  3. Each data row becomes a JSON object; dotted headers unflatten into nested keys.
  4. Copy or download the formatted JSON.

What is CSV to JSON?

Legacy exports and spreadsheet downloads arrive as comma-separated text that JavaScript and most APIs cannot consume directly. Paste your CSV here to get a JSON array of objects with typed headers — the format every modern API client and frontend framework expects.

Why use DevTilt's CSV to JSON?

  • Auto-detects header row from first line
  • Supports comma, tab, and semicolon delimiters
  • Outputs a JSON array of row objects
  • Handles quoted fields with embedded commas

Common use cases

  • Loading a spreadsheet export into a React or Vue data table
  • Converting a CRM export for a migration script
  • Turning a tab-separated log into JSON for jq or Node processing
  • Testing API endpoints with realistic tabular fixture data

FAQ

The first row becomes property names. Each following row becomes one JSON object in an array (or a single object if there is only one data row).
Headers like user.name or items.0 map back to nested objects and arrays using dot-separated paths.
Standard CSV quoting is supported. Fields with commas or quotes should be wrapped in double quotes in the input.
No. Parsing and JSON output happen entirely in your browser.
The first row is always treated as headers. Add a header line or prepend column names before converting, or the first data row will become property names.