JSON to CSV & CSV to JSON Converter (TSV) Flatten JSON to CSV/TSV and back.
100% offline
Delimiter
Input121 chars · 4 lines
Output61 chars
Converted · 2 rows
id,name,role
1,Ada Lovelace,Engineer
2,Alan Turing,Researcher

About JSON to CSV & CSV to JSON Converter (TSV)

Convert JSON to CSV and CSV to JSON without leaving your browser. Paste an array of JSON objects and get a clean comma- or tab-separated table with a header row, or paste a CSV/TSV export and turn it straight back into structured JSON. It's the quick bridge devs need when moving data between APIs, spreadsheets, and databases.

The converter is hand-rolled to RFC 4180, so values containing commas, quotes, or line breaks are quoted and escaped correctly in both directions — no mangled rows, no broken columns. Everything runs locally and fully offline: nothing you paste is uploaded, which makes it safe for production exports and sensitive records.

Features

  • JSON array of objects → CSV or TSV, with an automatic header row
  • CSV / TSV → JSON, parsing scalars (numbers, booleans, null) where they round-trip
  • RFC 4180 quoting — embedded commas, quotes, and newlines are handled correctly
  • Comma or tab delimiter toggle; runs entirely offline in your browser

How to use

  1. Paste a JSON array of objects, or a CSV/TSV table, into the input pane.
  2. Pick JSON → CSV or CSV → JSON, and choose the Comma or Tab delimiter.
  3. Copy the converted result from the output pane — or clear and start again.

Frequently asked questions

What JSON shape does it expect?

An array of objects, e.g. [{"name":"Ada","age":36}, ...]. The keys become the CSV header (the union across all rows, in first-seen order) and each object becomes a row. A single object or an array of primitives is not tabular, so it returns a clear error.

How are commas, quotes, and newlines handled?

Following RFC 4180, any field containing the delimiter, a double-quote, or a line break is wrapped in double-quotes, and literal double-quotes inside it are escaped by doubling them. The CSV → JSON parser reverses this exactly, so values round-trip cleanly.

Can it produce or read TSV (tab-separated) files?

Yes. Switch the delimiter toggle to Tab and the same conversion runs with tabs instead of commas — handy for pasting directly into and out of spreadsheets.

Is my data uploaded anywhere?

No. All parsing and conversion happen locally in your browser using plain JavaScript. Your input never leaves your device, so it works offline and is safe for sensitive data.

Everything runs locally in your browser — your input is never uploaded.