Esta página ainda não está disponível em Português, por isso é exibida em inglês.

Conversion tools

CSV ⇄ JSON Converter

One tool for both directions. Paste data or upload a file, choose CSV to JSON or JSON to CSV, then copy the result or download it.

  • Grátis, sem cadastro
  • Funciona no seu navegador: seus dados não são enviados
  • Copie o resultado ou baixe-o como arquivo

Paste a list of any size, or upload a file (CSV, TSV, TXT, JSON, XLSX, XLS). You can also drop a file here.

Opções

Como usar esta ferramenta

  1. 1

    Paste CSV or JSON, or upload a file. Cells copied from Excel or Google Sheets work too.

  2. 2

    The direction is detected from the input. Change it, the delimiter or the other options if you need to.

  3. 3

    Copy the result or download it as a .json or .csv file.

Perguntas frequentes

Does one tool really do both directions?

Yes. Input that starts with [ or { is read as JSON and converted to CSV. Anything else is read as CSV and converted to JSON. You can also choose the direction yourself.

How are nested objects and arrays handled?

From JSON to CSV, nested fields become columns with dotted names such as address.city, and arrays of objects become numbered columns such as phones.0.number. Lists of plain values are joined into one cell. From CSV to JSON, dotted column names are turned back into nested objects.

What if objects have different fields?

Every field from every object becomes a column, and missing values are left empty.

Which JSON layouts are understood?

An array of objects, a single object, an object that contains an array (for example an API response with a "data" or "results" field), and JSON Lines with one object per line.

Can I paste directly from Excel or Google Sheets?

Yes. Copied cells are tab-separated, and the converter detects tabs automatically. You can also upload the Excel file.

Is there a size limit?

No fixed limit. The conversion runs in your browser, so very large files depend on your device's memory.

Precisa fazer isso em grande escala?

Convert data between PDF, Excel, CSV, JSON, XML and database formats. Nossa equipe pode cuidar de trabalhos grandes ou recorrentes, da coleta à entrega.

Digite para buscar entre 235 serviços, setores e ferramentas.