Convertir JSON a Excel (JSON a XLSX)
Convierte un array JSON de objetos en una hoja .xlsx. Los objetos anidados pasan a columnas con punto como address.city y cada clave tiene su columna.
Entrada
Consejo: Ctrl + Intro para ejecutar
Ajustes guardados
Por ahora, la ayuda detallada de abajo solo está disponible en inglés.
Acerca de esta herramienta
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.
Cómo usarla
- Paste a JSON array of objects, or choose a .json file.
- Run the conversion.
- Download the .xlsx and open it in your spreadsheet app.
Cómo funciona el cálculo
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 rowEjemplo práctico
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.
Entrada y resultado de ejemplo
Elige un archivo y pulsa Calcular. El archivo convertido se descarga directamente desde tu navegador.
Limitaciones
- 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 actualización:
Preguntas frecuentes
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.
Solución 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.
Privacidad & Uso gratuito
¿Se guardan mis datos?
Tus datos permanecen en esta pestaña. No recibimos archivos, textos ni valores de cálculo.
¿Esta herramienta es gratis?
Sí. No requiere registro ni pago.
Ver también
Otras herramientas útiles
Convertir JPG a PNG
Convierte imágenes JPG a PNG en tu navegador, hasta 30 a la vez. PNG conserva cada píxel y admite transparencia, ideal para capturas, logotipos y gráficos.
Conversores de archivosConvertir PNG a JPG
Convierte imágenes PNG a JPG en tu navegador, hasta 30 a la vez. Los JPG pesan poco y se abren en todas partes, ideales para fotos y formularios; las zonas transparentes pasan a blanco.
Conversores de archivosConvertir WebP a JPG
Convierte imágenes WebP a JPG en tu navegador, hasta 30 a la vez. Los JPG pesan poco y se abren en todas partes, ideales para fotos y formularios; las zonas transparentes pasan a blanco.
Conversores de archivos