Skip to main content

Find your next tool

Prepare, check, then export

CSV to JSON & JSON to CSV Converter

Move a spreadsheet export into JSON, or turn an array of JSON records into CSV. Check a row preview and keep control of headers, delimiters and spreadsheet formula protection.

Loading text workspace…

Benefits

  • Keep CSV values as strings so IDs, dates and leading zeros stay intact.
  • Handle quoted delimiters, doubled quotes and line breaks inside fields.
  • Preview ten records and download JSON, CSV or a batch ZIP.

When this helps

  • Convert exported inventory records into an API fixture.
  • Make JSON records available for spreadsheet review.
  • Check a tab-separated table copied from a spreadsheet before sharing it.

How to use this tool

  1. Choose CSV to JSON or JSON to CSV. Importing a .json file selects JSON to CSV.
  2. Paste data or import a file, then choose its delimiter.
  3. For CSV, confirm whether the first row contains headers. For JSON, review formula protection.
  4. Convert, inspect the preview and download the result. JSON output can continue directly to the formatter.

Keep column meaning while changing the file format

A spreadsheet export does not carry the same type information as a database. The value 007 might be an employee code rather than the number seven. A long numeric ID might exceed the exact integer range used by common browser code. CSV to JSON therefore keeps every cell as a string. Empty cells remain empty strings, and words such as true and null remain text until you deliberately change them elsewhere.

CSV quoting matters whenever a field contains a comma, quotation mark or line break. A quoted address can span two physical lines while still belonging to one record. This parser tracks that distinction and reports inconsistent column counts instead of shifting cells into the wrong headings. Headers must be unique and nonempty. Without a header row, the tool assigns column_1, column_2 and subsequent names.

In the reverse direction, JSON must contain a nonempty array of objects. The export uses the union of their keys in first-seen order. Missing fields become empty cells; an explicit JSON null becomes the text null. Nested arrays and objects become compact JSON inside one quoted cell. This is useful for inspection, but CSV cannot preserve every distinction needed for a perfect round trip back to the original object structure.

Spreadsheet applications sometimes interpret a cell beginning with an equals sign as a formula. The default protection prefixes formula-like cells with an apostrophe and reports how many cells changed. This also affects negative values and applies to column names. Turn it off only when exact raw text is what the receiving application needs, and review how that application imports the file. The preview shows source values before this export protection is applied.

Formats, limits and privacy

  • Up to 100,000 UTF-16 code units per input; UTF-8 TXT, JSON, CSV or TSV files up to 1 MiB.
  • Batch ZIP: up to 10 files, 5 MiB combined. Successful outputs and a numbered error report are kept together.
  • Document handoffs support results up to 100,000 code units without NULL characters. Larger results remain downloadable.
  • Up to 5,000 data rows and 200 columns. Delimiters: comma, semicolon, tab or pipe. JSON input follows the formatter’s 64-level and 20,000-value limits.
  • No Excel workbook parsing or automatic type guessing. JSON-to-CSV uses CRLF line endings and quotes every cell. CSV import removes a leading UTF-8 BOM.

These tools process text locally. There is no draft autosave. Download important work before leaving; temporary file handoffs expire after 30 minutes.

Frequently asked questions

Will leading zeros disappear?

CSV-to-JSON keeps all cells as strings. A spreadsheet may still reinterpret values when opening CSV, so set identifier columns to text in its import dialog.

Can I convert TSV?

Yes. Choose Tab as the delimiter and import a UTF-8 TSV file or paste tab-separated cells.

What happens to nested JSON?

Each nested object or array is stored as compact JSON text in one CSV cell. It is not expanded into additional rows.

Continue your document workflow

Use a Continue button inside the workspace to carry your text; these links open a fresh tool.