Convertir CSV data to structured JSON
Analyser a CSV table (with headers, quoted fields, embedded commas) into an array of JSON objects for programmatic access.
- 1
CSV is the lingua franca of data export but has no nested types — everything is a string. Converting to JSON adds structure: each row becomes an object keyed by the header row, with values typed as number, boolean, or string where unambiguous.
- 2 Convertisseur CSV →
Paste CSV with a header row. The tool parses quoted fields, embedded commas/newlines, and outputs a JSON array of objects.
- 3
Use the chain for the full pipeline: parse CSV, type-infer values, and format the JSON output with consistent indentation.
- 4 Formateur JSON →
If the converted JSON is minified or hard to read, format it here for inspection or manual editing.
Questions fréquentes
- How are value types determined?
- The converter attempts to parse each value as a number, then boolean, then falls back to string. Quoted values are always strings. Use the type-inference option to force all values to strings if you need to preserve leading zeros or locale-specific numbers.
- What if my CSV has no header row?
- Specify that the first row is data, not headers. The tool will use array indices (col0, col1, ...) as keys, or you can provide explicit column names. Without headers, the JSON objects will have synthetic keys.
Workflows résolvant cette tâche
Comparer deux configs YAML via JSON
Convertir les configs YAML en JSON pour une comparaison diff-friendly des valeurs structurées. PIPELINE
Convertir CSV en JSON
Transformer des données CSV en un tableau d'objets JSON en utilisant la première ligne comme noms de propriétés. PIPELINE
Convertir CSV en JSON puis YAML
Transformer des données CSV de tableur en YAML via un intermédiaire JSON, adapté à la génération de configuration. PIPELINE
Coder une charge utile JSON pour transport URL
Préparer un Document JSON pour un Paramètre URL: embellir, Coder en Base64, puis encodage pourcent — le inverse exacte de le chaîne de décodage de paramètres imbriqués. PIPELINE
HJSON en format JSON
Formater HJSON et convertir en JSON standard. PIPELINE
Formater JSON et calculer une somme de contrôle d'intégrité
Pretty-printer un document JSON et calculer une somme CRC32 pour détecter toute modification ultérieure. PIPELINE
Minifier et valider JSON
Formater JSON pour inspection et valider sa correction syntaxique en une passe. PIPELINE
Formater JSON et générer une interface TypeScript
Formater un document JSON puis inférer une définition d'interface TypeScript en une chaîne. PIPELINE
Valider, formater, puis convertir JSON en YAML
Convertir une config JSON (possiblement minifiée) en YAML, capturant les erreurs de syntaxe au premier nœud au lieu de produire un YAML subtilement erroné. PIPELINE
JSON5 en format JSON
Formater JSON5 et convertir en JSON standard. PIPELINE
JSONC en format JSON
Formater JSONC (JSON avec commentaires) et convertir en JSON standard. PIPELINE
Décoder et formater une charge utile JWT
Analyser un token JWT, extraire sa charge utile et formater le JSON pour inspection. PIPELINE
Analyser chaîne de requête et formater JSON
Analyser une chaîne de requête en paires clé-valeur puis formater en JSON. PIPELINE
Convertir TOML en JSON
Analyser un fichier de configuration TOML en JSON pour les outils et API attendant une entree JSON. PIPELINE
Convertir TOML en YAML via JSON
Transformer un fichier de configuration TOML en format YAML, utilisant JSON comme representation intermediaire. PIPELINE
Decoder un parametre URL imbrique (Base64 JSON)
Derouler un parametre URL transportant du JSON Base64 code URL en JSON formate lisible. PIPELINE
YAML en JSON puis CSV
Convertir YAML en JSON puis en CSV pour usage tableur. PIPELINE
Generer des interfaces TypeScript depuis YAML
Convertir un document YAML en definitions d'interface TypeScript, utilisant JSON comme format intermediaire. PIPELINE
Outils associés
Convertisseur CSV
Convert between CSV and JSON online. Supports comma, semicolon, and tab delimiters. Gratuit, privé et 100% côté client. OUTIL
Convertisseur JSON ↔ CSV
Convert between JSON and CSV formats online. Gratuit, privé et 100% côté client. OUTIL
Formateur JSON
Format, minify, or sort JSON online. Gratuit, privé et 100% côté client. OUTIL
Convertisseur CSV ↔ Markdown
Convert between CSV and Markdown table format online. Gratuit, privé et 100% côté client. OUTIL