JSON to CSV

Turn JSON into a CSV you can open in Excel or Sheets. Nested fields are flattened.

Funciona no seu navegadorGrátis · sem cadastro

Sobre JSON to CSV

Paste JSON, or drop a .json file on the page, and get a CSV back. An array of objects becomes one row each; a reply wrapped in something like {"data": [...]} is understood too. Nested objects are flattened into dotted columns, so {"order": {"total": 2499}} becomes a column called order.total, and a list of simple values becomes one cell. Commas, quotes and line breaks inside a value are quoted the way the standard asks, so the file opens cleanly in Excel and Google Sheets instead of breaking into the wrong columns. Choose the separator if your Excel expects semicolons. It runs inside your browser, so nothing is uploaded and nothing is stored.

Esta ferramenta funciona no seu navegador, então seus arquivos nunca saem do seu dispositivo.

Como usar JSON to CSV

  1. Paste your JSON, or drop a .json file on the page.
  2. Pick the separator and whether to flatten nested fields.
  3. Copy the CSV or download it.

Perguntas

How do I convert JSON to CSV?

Paste the JSON above. The CSV appears beside it straight away; press Copy or Download to take it.

What happens to nested objects?

They are flattened into columns with a dot in the name, so {"order":{"id":91}} becomes a column called order.id. Turn that off and the nested part is written as JSON inside one cell.

Will it open properly in Excel?

Yes. Values holding commas, quotes or line breaks are quoted properly. If your Excel is set to a language that expects semicolons, choose Semicolon as the separator.

My rows do not all have the same fields.

That is fine. Every field seen anywhere becomes a column, and a row missing one gets an empty cell there.

Is anything uploaded?

No. The tool runs inside your browser, so what you paste or add stays on your device.

Ferramentas relacionadas