Convertir CSV en JSON
Convertissez les données CSV au format JSON.
Il vous suffit de télécharger votre fichier CSV dans le formulaire ci-dessous, de spécifier les colonnes à permuter et l'outil modifiera automatiquement la position de ces colonnes dans le fichier de sortie. Dans les options de l'outil, vous pouvez spécifier la position ou le nom des colonnes à permuter, corriger les données incomplètes et éventuellement supprimer les enregistrements vides et commentés.
Cet outil réorganise les données CSV en intervertissant la position de leurs colonnes. L'interversion des colonnes améliore la lisibilité d'un fichier CSV en regroupant ou en mettant au premier plan les données fréquemment utilisées, facilitant ainsi leur comparaison et leur modification. Par exemple, vous pouvez intervertir la première colonne avec la dernière, ou la deuxième avec la troisième. Pour intervertir les colonnes en fonction de leur position, sélectionnez l'option
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, we use our CSV column swapping tool to bring the most important information to the first column. As we are planning to go on vacation soon, in the input of the tool, we load data about national parks that include their names and locations. To decide, which is the closest park to us, we need to see the parks location first, therefore, we swap the first and second data columns so that the "location" column is at the beginning of the CSV data.
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, a lab intern made a mistake and created a corrupted CSV file with mixed-up columns and missing data. To fix the file, we swap the columns based on the headers "Vitamin" and "Function" so that the "Vitamin" column becomes the first in the output data. We also fill the incomplete CSV data by adding a custom asterisk "*" symbol in place of missing values.
Header of the first column you want to swap.
Header of the second column you want to swap.
Fill incomplete CSV data with empty symbols or a custom symbol.
In this example, we change the order of columns in a CSV dataset to have the columns essential for analysis adjacent to each other. We match the "ScreenSize" column by its name and place it in the second-to-last position "-2". This groups the "ScreenSize" and "Price" columns together, allowing us to easily compare and choose the phone we want to buy. We also remove empty lines and specify that lines starting with the "#" symbol are comments and should be left as is.
Header of the first column you want to swap.
Fill incomplete CSV data with empty symbols or a custom symbol.
Convertissez les données CSV au format JSON.
Convertissez les données CSV au format XML.
Convertissez les lignes CSV en colonnes.
Convertissez les données CSV au format TSV.
Convertissez rapidement un fichier CSV en fichier YAML.
Modifier le délimiteur du fichier CSV
Trouvez rapidement les lignes et les colonnes dans CSV auxquelles il manque des valeurs.
Transposer rapidement un fichier CSV.
Insérez rapidement une ou plusieurs nouvelles colonnes n'importe où dans un fichier CSV.
Convertir le format TSV au format JSON