# Da CSV a JSON

> Analizza il CSV in un array JSON.

[Open tool](https://www.toolcabana.com/it/csv-to-json) · [Sviluppo e dati](https://www.toolcabana.com/it/category/developer-and-data)

Tool ID: csv-to-json. Requested language: it. Description language: it. Complete guide translation: yes.

## Overview (en)

CSV to JSON parses CSV text into a formatted JSON array. With the header option on, each row becomes an object keyed by the column names; with it off, each row becomes an array of values. You can pick a comma, semicolon, tab or pipe delimiter and optionally convert numeric and true or false cells into JSON types.

## Supported tasks (it)

Analizza il CSV in un array JSON.

## Steps (it)

1. Digita o incolla il testo di origine, oppure carica un esempio.
2. Modifica le impostazioni di base o apri la modalità avanzata per ottimizzare il risultato.
3. Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.

## Settings

- Delimitatore (it; key: delimiter; type: select): , [it], ; [it], Tabulazione [it], | [it]
- La prima riga contiene i nomi delle colonne (it; key: header; type: checkbox)
- Deduci numeri e valori booleani (it; key: infer; type: checkbox)

## Limitations (it)

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Example input

```text
name,count
ToolCabana,2
Example,3
```

## Privacy and connections (it)

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

## Questions (it)

### Why are my numbers strings after converting CSV to JSON?

By default every cell stays text. Turn on Infer numbers and booleans to turn cells that look like numbers or true and false into JSON numbers and booleans.

### What happens if my CSV has duplicate or empty column names?

When the first row is used as headers, an empty or repeated column name stops the conversion with an error, so values are not merged or renamed. Rename the columns or turn off the header row.

### Does CSV to JSON handle line breaks inside quoted cells?

Yes. Line breaks inside quoted cells stay part of that cell value. Fully empty lines are skipped, and malformed rows are reported with their row number.

### Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

### Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Related tools

- [JSON to CSV](https://www.toolcabana.com/it/json-to-csv)
- [JSON to YAML](https://www.toolcabana.com/it/json-to-yaml)
- [YAML to JSON](https://www.toolcabana.com/it/yaml-to-json)
- [XML to JSON](https://www.toolcabana.com/it/xml-to-json)
