GlobaleGratuito

Convertitore da JSON a Excel (da JSON a XLSX)

Trasforma un array JSON di oggetti in un foglio di calcolo .xlsx. Gli oggetti annidati diventano colonne con il punto come address.city, e ogni chiave ha la sua colonna.

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Dati

Suggerimento: premi Ctrl + Enter per eseguire

Il tuo risultato

Il risultato apparirà qui.

Per ora la guida dettagliata qui sotto è disponibile solo in inglese.

Informazioni su questo strumento

API responses and exported data often arrive as JSON, which is hard to scan and impossible to sort or filter without code. This converter turns a JSON array of objects into a spreadsheet: each object becomes a row and each key a column, including keys that only some objects have.

Nested objects are flattened into dotted column names (address.city, stock.toronto), so the data stays readable in Excel, Google Sheets or LibreOffice.

Come si usa

  1. Paste a JSON array of objects, or choose a .json file.
  2. Run the conversion.
  3. Download the .xlsx and open it in your spreadsheet app.

Come funziona il calcolo

The JSON is parsed; each object is flattened (nested keys joined with dots, arrays written as JSON text). The union of all keys forms the header row, in first-seen order, and values keep their types.

keys of all objects → columns; one object → one row

Esempio pratico

An e-commerce assistant pastes two product records from an API, one of which has an extra “colour” field and both of which have nested stock counts per store. The spreadsheet has 2 rows and 5 columns (sku, price, stock.calgary, stock.toronto and colour) with an empty cell where a product has no colour.

Esempio di input e risultato

Scegli un file e premi Esegui. Il file convertito si scarica direttamente dal tuo browser.

Limiti

  • Works best with an array of objects; plain values in an array go into a single “value” column.
  • Arrays inside objects are not expanded into rows.
  • One sheet per workbook.

Ultimo aggiornamento:

Domande frequenti

What if my JSON is a single object?

It becomes one row. If the object only wraps an array, such as {"items": […]}, that array is used.

How are arrays inside objects handled?

They are written as JSON text in one cell.

Is there a column limit?

Up to 16,384 columns, the Excel maximum; browser memory limits very large files.

Risoluzione dei problemi

It says the JSON is invalid.

Check for trailing commas or single quotes; use the JSON formatter to find the error.

Columns are in an odd order.

They follow the order in which keys first appear.

Numbers became text.

Quoted numbers in JSON ("12") stay text; remove the quotes in the source.

Privacy & Gratuito

I miei dati vengono salvati?

I tuoi dati restano in questa scheda. Non riceviamo i tuoi file, i testi incollati né i valori dei calcoli.

Questo strumento è gratuito?

Sì. Non servono registrazione né pagamento.

Elaborato nel tuo browser

Passi successivi utili