Rows to JSON records
Turn a small table into structured objects for app fixtures or API examples.
| # | id | name | role | signup_date | active | |
|---|---|---|---|---|---|---|
| 1 | 1 | Alice Johnson | [email protected] | Admin | 2024-01-15 | true |
| 2 | 2 | Bob Smith | [email protected] | Editor | 2024-02-03 | true |
| 3 | 3 | Carol Williams | [email protected] | Viewer | 2024-02-20 | false |
| 4 | 4 | David Brown | [email protected] | Editor | 2024-03-05 | true |
| 5 | 5 | Eva Davis | [email protected] | Viewer | 2024-03-18 | true |
1[2{3"id": 1,4"name": "Alice Johnson",5"email": "[email protected]",6"role": "Admin",7"signup_date": "2024-01-15",8"active": true9},10{11"id": 2,12"name": "Bob Smith",13"email": "[email protected]",14"role": "Editor",15"signup_date": "2024-02-03",16"active": true17},18{19"id": 3,20"name": "Carol Williams",21"email": "[email protected]",22"role": "Viewer",23"signup_date": "2024-02-20",24"active": false25},26{27"id": 4,28"name": "David Brown",29"email": "[email protected]",30"role": "Editor",31"signup_date": "2024-03-05",32"active": true33},34{35"id": 5,36"name": "Eva Davis",37"email": "[email protected]",38"role": "Viewer",39"signup_date": "2024-03-18",40"active": true41}42]
1. Paste or upload
Add your CSV or Excel data above.
2. Convert instantly
The tool transforms it to JSON in your browser.
3. Copy or download
Use your JSON data wherever you need.
CSV to JSON converts comma-separated values, tab-separated logs, pasted spreadsheet selections, and the first table on a public web page into JSON inside your browser. Auto delimiter detection, type coercion, and configurable output shapes mean most files convert without any manual cleanup.
CSV is the export format every database, BI tool, and back-office system speaks. JSON is what every modern API, fixture file, and config consumer expects. The bridge is usually a one-off script, a paid converter, or hand-cleaning in a text editor. This tool removes that step: paste a daily report, drop in an export, or pull a public web table — receive structured JSON ready for seeders, mocks, or pipelines, without uploading data to a third-party service.
.json file.Source bar switches between CSV and Excel labels, loads the example dataset, or opens the file picker. Use the example to verify behavior before pasting real data.
Input tabs — Raw CSV for editing the source text directly, with drag-drop support for files; View as Table for inspecting parsed rows column by column before exporting.
Parse Settings sidebar holds the delimiter override, header toggle, coercion toggle, trim toggle, output shape selector, and the optional Web Page Extractor URL field.
Quality Report shows row count, column count, detected delimiter, and any warnings about ragged rows so you can spot malformed sources before exporting.
Output JSON card renders the result in a compact line-numbered viewer with Convert, Copy, Download, and a Pretty / Minified toggle.
column_N keys."42", "true", "null" into native JSON. Disable for IDs, postal codes, SKUs, and phone numbers.<table> on the page; for multi-table pages, copy the right table directly.No. CSV and Excel files are parsed locally inside your browser. The Web Page Extractor is the only path that touches our server, and only to fetch the public URL you supply (server-side fetch bypasses CORS). Nothing is stored.
Coerce values converted '00123' into the number 123. Disable Coerce values when fields like IDs, SKUs, postal codes, or phone numbers must remain literal strings.
Yes. Switch off First row is header and the tool generates column_1, column_2, column_3, … for keys. Every row, including the first, becomes a data record.
Comma, semicolon, tab, and pipe. Auto-detect inspects the first ten lines and picks the most consistent separator. Override the dropdown when an export uses a regional setting (semicolons in DE/FR exports, tabs in shell logs).
Rows whose column count differs from the parsed width. Ragged rows usually mean an unescaped delimiter inside a value or stray newlines in the source — fix the cell or wrap it in double quotes.
Use array of rows for matrix-style output, fixture snapshots, or sources with duplicate column names where keyed objects would collide. Use array of objects for typical API payloads where header names map to fields.
Up to 15 MB for upload and the web extractor. Larger files generally exceed practical browser memory for browser-side JSON building. Trim the source or pre-split it for very large datasets.