- Esecutori
-
Impara
Centro di apprendimento Python Esempi eseguibili, NumPy, pandas e altro Centro di apprendimento C e C++ Puntatori, memoria, STL e C++ moderno Centro di apprendimento C#Fondamenti, OOP, LINQ, async ed esercizi .NET Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++
- Sfide
Converters
CSV to JSON Converter
Turn CSV or TSV data into a JSON array of objects, an array of arrays, or an object keyed by the first column.
- Runs in your browser
- Instant results
- Free, no sign-up
Loading the tool…
How to use the CSV to JSON Converter
- Paste CSV (the first row should hold column names).
- Pick the delimiter and output shape, and choose whether to detect types.
- Copy the JSON or download it as a file.
Frequently asked questions
How are numbers and booleans handled?
With type detection on, values like 42, 3.14, true and false become JSON numbers and booleans; everything else stays a string.
What does nesting dotted headers do?
A header like address.city becomes a nested object: {"address": {"city": ...}}.
Does it handle quoted fields with commas?
Yes. Quoted fields, escaped quotes and line breaks inside quotes follow the CSV standard.
Esercitati in Python con le sfide di codice
Risolvi problemi pratici direttamente in questo editor: esegui i test di esempio, invia la soluzione e ricevi una revisione AI del codice.