RevealTheme logo

Conversor de JSON a CSV

Convierte un array JSON de objetos a formato CSV. Perfecto para exportar datos de API a hojas de cálculo.

Cómo usar esta herramienta

  1. 1

    Paste or type a JSON array of objects into the text box. The array must be non-empty (for example: [{"name":"A","value":1}]).

  2. 2

    Click the Convert button to generate the CSV.

  3. 3

    Read the CSV in the output panel below the button, with the header row first followed by one row per object.

  4. 4

    Select the output text and copy it into a spreadsheet, a .csv file, or wherever you need it.

¿Qué es el Conversor de JSON a CSV?

JSON es el formato universal de las API; CSV es el formato universal de las hojas de cálculo. Convertir entre ellos es una tarea común: exportar analíticas a Excel, importar datos CSV a aplicaciones JavaScript, etc. Esta herramienta gestiona bien los arrays de objetos planos; las estructuras profundamente anidadas pueden necesitar preprocesamiento.

Casos de uso comunes

  • Turning a small JSON response from an API into a CSV you can paste straight into Excel or Google Sheets.

  • Quickly eyeballing tabular API data as rows and columns instead of nested braces.

  • Preparing a CSV for a bulk-import feature that expects flat columns, when your source data is already a uniform JSON array.

  • Converting a JSON fixture or seed file into CSV for a quick import into a database GUI.

  • Generating a CSV snippet for documentation or a bug report without installing jq or writing a script.

  • Sanity-checking that a JSON array has consistent keys across records by spotting blank or missing cells in the output.

Preguntas frecuentes

¿Qué pasa si mi JSON tiene objetos anidados?▼
Esta herramienta convierte los valores anidados en cadenas dentro de la celda CSV. Para estructuras complejas, aplánalas primero con una herramienta como jq.
¿Gestiona los caracteres especiales?▼
Sí: las comas y las comillas en los valores se escapan correctamente según la RFC 4180.

Herramientas relacionadas