Data conversion

CSV ↔ JSON converter

Move tabular data between CSV and JSON without uploading it. Preserve identifiers, catch malformed records, and review spreadsheet-safety warnings.

Processed on this deviceCSV · TSV · JSON1 MiB text imports

Your workspace

No upload · No account · Separate output

Up to 1,048,576 characters. CSV needs one unique, non-empty header per column. Values stay strings. Imported line endings are retained until you edit the text; typing/paste uses the editor’s LF line endings.

Up to 1 MiB. This file is read locally; it is not uploaded.

Undo restores the previous import, example, reset, or swap. For typing, use your editor’s normal undo command.

How to use it

  1. Choose CSV → JSON or JSON → CSV and the CSV delimiter.
  2. Paste data or import a UTF-8 file. A CSV header names each JSON property.
  3. Convert, review row and column totals and any warnings, then download the separate result.

Know the limits

  • Maximum 10,000 records, 200 columns, and 200,000 cells including headers. Generated JSON is capped at 8,000,000 UTF-16 code units, including repeated headers, escaping, and indentation; this is not a file-byte limit. Ragged records, duplicate CSV headers or JSON properties, and broken quoting are rejected.
  • CSV → JSON keeps every field as a string, including numbers, blanks, and leading zeroes. JSON → CSV accepts flat objects with scalar values only.
  • Missing and null JSON values become blank CSV cells. Numeric literals that would lose decimal precision, overflow, underflow, or lose a negative-zero sign are rejected before parsing. Equivalent spelling such as 1.0 to 1 or 1e3 to 1000 may normalize. Quote exact numeric text and identifiers as strings.
  • Spreadsheet software can interpret formula-leading values. The default apostrophe prefix changes data and is a risk reduction, not a universal spreadsheet security guarantee.

Walk through a real example

Convert CSV and JSON without losing IDs or quoted fields

A step-by-step guide with worked examples and important limits.

Common questions

Will 00127 stay 00127?

Yes when converting CSV to JSON: every cell becomes a string. In JSON input, use "00127" in quotes. An unquoted JSON number cannot preserve leading zeroes.

Why reject nested JSON?

Nested arrays and objects have no single unambiguous table representation. Flatten them deliberately rather than silently losing structure.

Does this upload my data?

No. This standalone tool reads and converts input in the browser. It contains no network requests, analytics, or persistent storage.

Your input stays here

These standalone pages do not send your input to a server or save it in browser storage. Files and undo values remain in memory while the page is open. Copy and download happen only when you choose them.