Conversor de JSON para Excel (JSON para XLSX)
Transforme um array JSON de objetos em uma planilha .xlsx. Objetos aninhados viram colunas com ponto, como address.city, e cada chave ganha sua própria coluna.
Entrada
Dica: pressione Ctrl + Enter para executar
Configurações salvas
Por enquanto, a ajuda detalhada abaixo está disponível apenas em inglês.
Sobre esta ferramenta
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.
Como usar
- Paste a JSON array of objects, or choose a .json file.
- Run the conversion.
- Download the .xlsx and open it in your spreadsheet app.
Como o cálculo funciona
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 rowExemplo prático
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.
Exemplo de entrada e resultado
Escolha um arquivo e clique em Executar. O arquivo convertido é baixado direto pelo seu navegador.
Limitações
- 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.
Última atualização:
Perguntas frequentes
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.
Solução de problemas
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.
Privacidade & Uso gratuito
Meus dados são armazenados?
Seus dados ficam nesta aba. Não recebemos seus arquivos, textos colados nem valores de cálculo.
Esta ferramenta é gratuita?
Sim. Não é preciso cadastro nem pagamento.
Veja também
Próximos passos úteis
Conversor de JPG para PNG
Converta imagens JPG para PNG no seu navegador, até 30 de cada vez. O PNG mantém cada pixel e suporta transparência, ideal para capturas de tela, logotipos e gráficos.
Conversores de arquivosConversor de PNG para JPG
Converta imagens PNG para JPG no seu navegador, até 30 de cada vez. Arquivos JPG são leves e abrem em qualquer lugar, ideais para fotos e envio em formulários; áreas transparentes ficam brancas.
Conversores de arquivosConversor de WebP para JPG
Converta imagens WebP para JPG no seu navegador, até 30 de cada vez. Arquivos JPG são leves e abrem em qualquer lugar, ideais para fotos e envio em formulários; áreas transparentes ficam brancas.
Conversores de arquivos