Eingabe
Richtung
Ergebnis
Operation auswählen

JSON <-> CSV-Konverter

Turn a JSON array (of objects or 2-D arrays) into CSV, or turn CSV back into a JSON array of objects using the first row as the header — handy for moving data between spreadsheets and programs.

Fields containing commas, quotes or newlines are quoted correctly, so the result pastes cleanly into Excel or a database import script.

Features

How to use

  1. Enter a JSON array or CSV text on the left.
  2. Pick the direction on the right.
  3. The result appears instantly; click Copy to take it.

FAQ

How is the header determined for CSV → JSON?

The first CSV row is taken as field names (the header), and each later row becomes one object. Rows with fewer columns than the header get empty strings so the JSON stays structurally complete.

What column order is used for JSON → CSV?

Columns follow the keys of the first object; extra keys from later objects are appended at the end, keeping the table tidy without dropping data.

Does this page collect my data?

No. The content is either baked into the HTML at build time or every calculation runs locally in your browser, so your input is never sent to any server. Apart from the footer traffic counters (Baidu Analytics and our self-hosted visitor counter, see the privacy policy), this site collects nothing about your visit.

Related tools & reading

Feedback

Diese Seite ist rein front-end: kein Backend, keine Konten. Feedback geht an GitHub Issues, Discussions oder E-Mail.

Füge dies in das Issue oder die E-Mail ein, um mir zu helfen, das Problem zu finden – es enthält nichts von dem, was du eingegeben hast

Auch:Vorhandenes Feedback ansehen · Feedback per E-Mail (ohne GitHub-Konto):278975598@qq.com