- Exécuteurs
-
Apprendre
Espace d’apprentissage Python Exemples exécutables, NumPy, pandas et plus Espace d’apprentissage C et C++ Pointeurs, mémoire, STL et C++ moderne Espace d’apprentissage C#Bases, POO, LINQ, async et exercices .NET Algorithmes Python Recherche, tri, récursivité et visualisations O(n) Algorithmes C et C++ Comparer les implémentations en C et C++
- Défis
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.
Pratiquez Python avec des défis de code
Résolvez des problèmes concrets dans cet éditeur : lancez les tests, soumettez et recevez une relecture IA.