Toolvist

Conversor de JSON a CSV

Convierte JSON a CSV online: pega un array de objetos y descarga un archivo listo para hoja de cálculo. Conversor gratuito que aplana las claves anidadas.

Conversor de JSON a CSV gratuito

El conversor de JSON a CSV convierte un array de objetos en una tabla CSV que puedes abrir en Excel o Google Sheets. El orden de las columnas sigue las claves encontradas en todas las filas.

The reverse conversion is the CSV to JSON Converter, and once the data is tabular it can be loaded with the CSV to SQL Converter. If the source structure needs checking first, the JSON Validator reads it.

Cómo usar JSON a CSV

  1. 1 Paste your JSON, or load a file. It should be an array of objects.
  2. 2 Choose the delimiter and whether to include a header row.
  3. 3 Check the column list — keys appearing in some records but not others are still included.
  4. 4 Download or copy the CSV.

Cómo usarlo

Pega un array JSON de objetos y haz clic en Convertir. La salida CSV aparece a la derecha.

  • Espera un array JSON de nivel superior de objetos planos
  • Entrecomilla y escapa valores que contienen comas o comillas
  • Las cabeceras de columna se derivan de todas las claves de los objetos

Preguntas frecuentes

What JSON shape does this expect?

An array of objects, where each object is a row and each key is a column. That is the shape most APIs return for a collection. A single object produces one row; a nested object produces a column containing a stringified value, since CSV has no way to represent hierarchy.

What happens to nested objects and arrays?

They are flattened or serialised, depending on the setting. A nested object can be flattened into dotted column names such as `address.city`, which preserves the data in a directly usable form. Arrays are less tractable, because CSV cells cannot hold a variable number of values, so they are usually joined into a single string.

Why are numbers or dates changing when I open the file in a spreadsheet?

Because the spreadsheet is applying its own interpretation. A long numeric identifier is treated as a number and may lose precision or gain scientific notation; a date-like string is converted to a date and reformatted. This is a spreadsheet behaviour, not a conversion artefact, and the usual fix is to import the file explicitly as text for the affected columns.

Herramientas para desarrolladores relacionadas

Ver todo en Herramientas para desarrolladores →

También te puede interesar

Herramientas de otras categorías que suelen combinarse con JSON a CSV:

Explorar el directorio completo →