Paste or upload CSV - get a live table preview, automatic type detection (numbers, booleans, dates), and clean JSON output. Detects delimiters, flags malformed rows, and supports nested JSON via dot-notation headers.
JSON output appears here
Paste CSV or load a sample to begin
What makes it different
A real table preview, automatic type detection, and error highlighting - see exactly what you're converting before you convert it.
Your CSV renders as an actual scrollable table with column headers, so you can verify your data before converting - not just raw text.
visual, not just textNumbers, booleans, and null values are detected per column and converted to proper JSON types - not left as strings.
no manual type fixingHeaders like user.name and user.address.city become real nested objects - toggle on/off to compare.
Rows with the wrong number of columns are flagged with their row number directly in the table preview.
find bad rows fastComma, semicolon, tab, or pipe-delimited files are detected automatically - override manually if needed.
4 delimiters supportedExport as a standard JSON array, or as newline-delimited JSON for streaming, BigQuery, or Elasticsearch.
2 output formatsQuick guide
Works for files up to a few thousand rows directly in your browser.
Paste CSV text, or drag and drop a .csv file onto the input panel. The delimiter is detected automatically.
Review your data as a table - verify column types, spot malformed rows, and toggle nested output if needed.
Copy the JSON to your clipboard or download it as a .json file, ready for your API, database, or app.
A CSV file is just rows of text separated by commas (or another delimiter). JSON is structured data with explicit types - strings, numbers, booleans, arrays, and nested objects. Converting between them means more than just reformatting; it means making decisions about types, structure, and how to handle inconsistencies.
In a raw CSV, everything is text. The value 42 and the value "42" look identical in a CSV file, but in JSON they are very different - one is a number you can do math on, the other is a string. This tool inspects every value in each column and infers whether it should be a number, a boolean (true/false), null for empty cells, or a string. This saves you from writing post-processing code to fix types after conversion.
JSON supports nested objects, but CSV is flat - every value lives in a single row and column. The convention for representing nested structure in CSV headers is dot notation: a column named address.city becomes the city field inside an address object. This tool detects dot-notation headers and can build the matching nested JSON structure automatically when you enable "Nested output".
[ ] - great for APIs and config files. NDJSON (newline-delimited JSON) puts one JSON object per line with no wrapping array - this format is preferred by streaming systems, log pipelines, and tools like BigQuery, Elasticsearch, and Apache Spark because each line can be processed independently without loading the entire file into memory.
| Issue | What happens | How this tool helps |
|---|---|---|
| Wrong delimiter | All data ends up in one column | Auto-detects comma, semicolon, tab, or pipe |
| Inconsistent columns | Some rows have extra or missing fields | Highlights the exact row number in the preview |
| Mixed types in a column | Numbers stored as text | Per-column type detection with override |
| Empty cells | Become empty strings instead of null | Detected and converted to JSON null |
| Nested structure needed | Flat data doesn't match your API schema | Dot-notation headers → nested JSON objects |
Export a table as CSV from Excel or Google Sheets, then convert to JSON for a MongoDB or Firebase import.
Turn a spreadsheet of records into a JSON array ready to POST to an API endpoint.
Convert a CSV of settings into a structured JSON config file for your application.
Export NDJSON for streaming into BigQuery, Elasticsearch, or log analysis tools.
Quickly turn spreadsheet data into JSON for mocking API responses during development.
Use the live preview and error highlighting to spot and fix bad rows before they reach your pipeline.
FAQ
Everything about converting CSV data into clean, structured JSON.
Ask a questionuser.name and user.address.city, enable the "Nested output" toggle and the tool will build a nested JSON object structure matching those headers. Try the "Nested headers" sample to see it in action.