Entrada
Direção
Resultado
Choose an operation to start

Conversor JSON <-> CSV

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.

Feedback

Este site é apenas front-end: sem backend nem contas. O feedback vai para GitHub Issues, Discussions ou e-mail.

Cole isso no issue ou e-mail para me ajudar a localizar o problema; não inclui nada do que você digitou

Also: Ver feedback existente · Feedback por e-mail (sem conta GitHub):278975598@qq.com