Convertir JSON en Excel (JSON en XLSX)
Transformez un tableau JSON d’objets en classeur .xlsx. Les objets imbriqués deviennent des colonnes pointées comme address.city et chaque clé a sa colonne.
Données
Astuce : Ctrl + Entrée pour lancer
Réglages enregistrés
L’aide détaillée ci-dessous n’est pour l’instant disponible qu’en anglais.
À propos de cet outil
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.
Mode d’emploi
- Paste a JSON array of objects, or choose a .json file.
- Run the conversion.
- Download the .xlsx and open it in your spreadsheet app.
Fonctionnement du calcul
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 rowExemple détaillé
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.
Exemple d’entrée et de résultat
Choisissez un fichier et lancez le calcul. Le fichier converti se télécharge directement depuis votre navigateur.
Limites
- 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.
Dernière mise à jour:
Questions fréquentes
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.
Dépannage
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.
Confidentialité & Utilisation gratuite
Mes données sont-elles stockées ?
Vos données restent dans cet onglet. Nous ne recevons ni fichiers, ni textes, ni valeurs de calcul.
Cet outil est-il gratuit ?
Oui. Aucune inscription ni paiement requis.
Voir aussi
D’autres outils utiles
Convertir JPG en PNG
Convertissez des images JPG en PNG dans votre navigateur, jusqu’à 30 à la fois. Le PNG conserve chaque pixel et gère la transparence : idéal pour les captures, logos et graphiques.
Convertisseurs de fichiersConvertir PNG en JPG
Convertissez des images PNG en JPG dans votre navigateur, jusqu’à 30 à la fois. Les JPG sont légers et s’ouvrent partout : idéaux pour les photos et les formulaires ; les zones transparentes deviennent blanches.
Convertisseurs de fichiersConvertir WebP en JPG
Convertissez des images WebP en JPG dans votre navigateur, jusqu’à 30 à la fois. Les JPG sont légers et s’ouvrent partout : idéaux pour les photos et les formulaires ; les zones transparentes deviennent blanches.
Convertisseurs de fichiers