Convert CSV to JSON while preserving text values

Turn a CSV header row into JSON object keys. Preview and export all rows locally, keeping identifiers, Unicode and blank cells as strings.

Data Workspace

Local tables. Clear decisions.

On your device
Drop CSV, TSV or JSON files here.
Import settings & limits

Settings apply to newly added CSV/TSV files. Up to 8 sources; 8 MiB per file, 24 MiB total source bytes; 50,000 rows, 100 columns and 500,000 cells per table; 1,000,000 source cells in total. No XLSX support. JSON must be a flat object array.

CSV / JSON

Use the active table or paste text below. CSV values remain strings. JSON accepts flat object arrays; numbers and booleans become text, and null or missing keys become empty CSV cells. Nested values and unsafe integers are rejected.

A clearer view starts with one table.

Add a CSV or TSV, or try three examples. Your input stays in this tab. No account, upload or spreadsheet installation.

A reproducible example.

Input

id,name,note
001,"Zoë, 张三",
002,Mina,Ready

Expected output

[
  {"id":"001","name":"Zoë, 张三","note":""},
  {"id":"002","name":"Mina","note":"Ready"}
]

Steps to follow.

  1. Import CSV/TSV or paste CSV text in the converter below. Set the correct delimiter before parsing.
  2. Convert & preview. Headers become object keys; every cell stays a string.
  3. Check the JSON preview, leading zeros, quoted commas and empty strings.
  4. Select JSON and download the full table. The short page preview does not limit the exported rows.

Formats, matching and limits.

CSV/TSV up to 8 MiB, 50,000 rows, 100 columns and 500,000 cells per table. A non-empty unique header row is required. Ragged rows, unclosed quotes and invalid encodings are rejected. No automatic number, boolean or date conversion. JSON downloads are limited to 24 MiB.

All processing happens in your browser. Use file selection and downloads in a modern Chrome, Edge, Firefox or Safari. Source files stay unchanged; leaving or reloading clears the temporary data session.

Problems worth checking.

A header name is repeated.

Correct the source header. The converter will not silently overwrite an earlier column.

A blank cell should be null.

This converter intentionally emits an empty string. Transform types afterward according to your own schema.

Only five rows appear in the JSON preview.

That panel is a short preview of the current page. Download full table exports all rows.

Related next steps.

Read the complete practical guide