Convertisseur Excel en JSON

Besoin de la conversion inverse ?
JSON to Excel Converter

Entrée Spreadsheet

Import a spreadsheet file to convert to JSON

Supports .xlsx, .xlsm, .xls, and .csv files

Sortie JSON

Paramètres

Spreadsheet Import Options

Import a spreadsheet file to convert to JSON

Supports .xlsx, .xlsm, .xls, and .csv files

Convertir Excel en JSON en ligne – guide étape par étape

Utilisez ce convertisseur Excel → JSON pour transformer des tableurs en tableaux ou objets JSON pour les APIs, les bases de données et les applications web.

  1. Étape 1 – Importer votre fichier Excel

    • Importez un fichier .xlsx, .xlsm ou .xls.
    • Un aperçu de la feuille sélectionnée apparaît à gauche.
    • Pour les fichiers CSV, utilisez un outil CSV→JSON ou convertissez d’abord en Excel.
  2. Étape 2 – Configurer les options de conversion

    • Sélectionnez la feuille à convertir (pour les classeurs multi-feuilles).
    • Activez « La première ligne contient les en-têtes » pour utiliser la première ligne comme clés JSON.
    • Indiquez éventuellement une plage (ex. A1:D100) pour ne convertir qu’une partie de la feuille.
  3. Étape 3 – Vérifier la sortie JSON

    • Avec en-têtes, le JSON est un tableau d’objets (un par ligne).
    • Chaque ligne devient un objet JSON avec les en-têtes comme clés et les valeurs de cellule comme valeurs.
    • Vérifiez le format des dates, nombres et textes dans la sortie JSON.
  4. Étape 4 – Copier ou télécharger le JSON

    • Utilisez « Copier » pour mettre le tableau JSON dans le presse-papiers.
    • Utilisez « Télécharger » pour enregistrer en fichier .json.
    • Importez le JSON en base de données, envoyez-le à des APIs ou utilisez-le côté frontend.

Quick tips for Excel to JSON

  • Keep one header row at the top so each JSON object gets consistent keys.
  • Dates and numbers are read as they appear in the spreadsheet; double-check them before sending to APIs.
  • Turn off auto-sync when you want to batch several spreadsheet edits, then use the update button to refresh the JSON once.
Example: Excel spreadsheet to JSON array
// Excel spreadsheet (with headers)
| Name        | Email              | Age | Active |
|-------------|--------------------|-----|--------|
| Maeve       | [email protected] | 28  | true   |
| Alex        | [email protected]   | 32  | false  |

// JSON output
[
  {
    "Name": "Maeve",
    "Email": "[email protected]",
    "Age": 28,
    "Active": true
  },
  {
    "Name": "Alex",
    "Email": "[email protected]",
    "Age": 32,
    "Active": false
  }
]

Related Excel & JSON tools

Work with spreadsheet data and JSON using these complementary conversion and formatting tools.

Questions fréquentes

What Excel formats are supported?

This tool supports .xlsx, .xlsm (macro-enabled), legacy .xls, and .csv files. Excel workbooks can contain one or many sheets, while CSV files open as a single sheet preview.

How does sheet selection work?

After importing a spreadsheet file, you can select which sheet to convert using the dropdown in settings. Sheet names are detected automatically from Excel workbooks, and CSV files are loaded as a single sheet.

Can I convert specific cell ranges?

Yes. Use the range option in settings to specify a cell range like 'A1:D10'. Leave it empty to convert the entire used range of the selected sheet.

How are headers handled?

When 'First row contains headers' is enabled, the first row values become JSON object keys. When disabled, generic keys like 'Column1', 'Column2' are used.

Is my data secure?

Yes, all data processing happens entirely in your browser. Your spreadsheet file is parsed locally and never sent to any server, ensuring completely private and secure conversion.