Conversor de Excel para JSON

Precisa da conversão inversa?
JSON to Excel Converter

Entrada Excel Spreadsheet

Sem dados

Importe JSON para visualizá-lo como planilha.

0 linhas × 0 colunas
Memória: 0 B
Exibindo 0 de 0

Saída JSON

Configurações

Excel Import Options

Import an Excel file to convert to JSON

Supports .xlsx, .xlsm, and .xls files

Como converter Excel para JSON online – guia passo a passo

Use este conversor de Excel → JSON para transformar planilhas em arrays ou objetos JSON para APIs, bancos de dados e aplicações web.

  1. Etapa 1 – Envie seu arquivo Excel

    • Envie um arquivo .xlsx, .xlsm ou .xls.
    • Uma prévia da planilha selecionada aparece à esquerda.
    • Para arquivos CSV, use um conversor CSV→JSON ou converta para Excel primeiro.
  2. Etapa 2 – Configure as opções

    • Selecione a planilha a converter (em workbooks com várias abas).
    • Ative “A primeira linha contém cabeçalhos” para usar a primeira linha como chaves JSON.
    • Opcionalmente informe um intervalo (ex.: A1:D100) para converter apenas parte da planilha.
  3. Etapa 3 – Revise a saída JSON

    • Com cabeçalhos, o JSON é um array de objetos (um por linha).
    • Cada linha vira um objeto JSON com cabeçalhos como chaves e valores de células como valores.
    • Verifique se datas, números e textos estão formatados corretamente no JSON.
  4. Etapa 4 – Copie ou baixe o JSON

    • Use “Copiar” para enviar o array JSON para a área de transferência.
    • Use “Baixar” para salvar como arquivo .json.
    • Importe o JSON em bancos de dados, envie para APIs ou use em apps 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 Excel; double-check them before sending to APIs.
  • For very large sheets, convert smaller ranges first to keep output manageable.
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.

Perguntas Frequentes

What Excel formats are supported?

This tool supports modern Excel formats including .xlsx, .xlsm (macro-enabled), and legacy .xls files. Both single and multi-sheet workbooks are supported.

How does sheet selection work?

After importing an Excel file, you can select which sheet to convert using the dropdown in settings. Sheet names are automatically detected from your workbook.

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 Excel file is parsed locally and never sent to any server, ensuring completely private and secure conversion.

Conversor de Excel para JSON | JSONSwiss