ToolCabana

Da CSV a JSON

Analizza il CSV in un array JSON.

Favorites are saved in this browser. Find them in My favorites.

Da CSV a JSON

Instant results · processed in your browser
Update results automatically as you type or change settings. Turn off to run manually.Clear your input, files and result, and restore the default settings.
Load sample text to explore what this tool can do. This replaces your current input.
0 charactersClear the source text.

Type or paste to update the result automatically.

Your result appears here

Type, paste, or use an example. Copy your result when it is ready.

Come usare Da CSV a JSON

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.

  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.

Cosa supporta questo strumento

Analizza il CSV in un array JSON.

Delimitatore
, · ; · Tabulazione · |
La prima riga contiene i nomi delle colonne
Set this value for your task.
Deduci numeri e valori booleani
Set this value for your task.

Limiti ed elaborazione

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.

Origine di esempio
name,count
ToolCabana,2
Example,3

Domande frequenti

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.