📊 CSV ↔ JSON Converter

Convert CSV to JSON and JSON to CSV instantly. Supports headers, custom delimiters, and nested JSON flattening. Free online CSV ↔ JSON converter — no signup needed.

How to Use

1

Choose direction

Select CSV → JSON to convert a spreadsheet to data, or JSON → CSV to export JSON as a table.

2

Paste your data

Paste CSV (with header row) or valid JSON array into the input area. The table preview updates live.

3

Copy or download

Click Copy or Download to save the output. Use the table preview to verify your data looks correct.

Frequently Asked Questions

How does CSV to JSON conversion work? +
The first row of the CSV becomes the keys of each JSON object. Each subsequent row becomes one object in the JSON array. Values are trimmed of whitespace. Numbers and booleans are kept as strings unless you enable type inference.
How are commas inside values handled? +
Values containing commas must be enclosed in double quotes in CSV format: "New York, NY". This tool correctly parses quoted fields including escaped double quotes (two consecutive double quotes represent one literal quote).
Can I convert nested JSON to CSV? +
JSON→CSV works with flat arrays of objects. Nested objects are serialized as JSON strings within their cell. For deeply nested structures, flatten your JSON first using the JSON Formatter tool.
What does the table preview show? +
After conversion, a table preview renders the data as an HTML table so you can visually inspect rows and columns before downloading. This helps catch misaligned columns or parsing errors.
Is there a file size limit? +
There is no hard limit, but processing very large files (over 5MB) in the browser may be slow. Everything runs client-side — your data never leaves your device.


Guía: Convertidor CSV ↔ JSON

¿Qué es?

Convierte entre CSV (exportaciones de Excel, Google Sheets, bases de datos) y JSON (APIs). CSV→JSON para cargar datos de hojas de cálculo en APIs. JSON→CSV para exportar a Excel para análisis.

Cómo usar

  1. Selecciona la dirección: CSV a JSON o JSON a CSV.
  2. Pega los datos en la entrada.
  3. Configura el delimitador y manejo de headers.
  4. Copia o descarga el resultado.

Consejos

🧰 50+ Tools