Converter CSV para JSON
Converta dados CSV para o formato JSON.
Basta carregar seu arquivo CSV no formulário abaixo, especificar as colunas a serem trocadas e a ferramenta alterará automaticamente as posições das colunas especificadas no arquivo de saída. Nas opções da ferramenta, você pode especificar as posições ou nomes das colunas que deseja trocar, bem como corrigir dados incompletos e, opcionalmente, remover registros vazios e registros comentados.
Esta ferramenta reorganiza dados CSV trocando as posições de suas colunas. Trocar colunas pode melhorar a legibilidade de um arquivo CSV, colocando dados usados com frequência juntos ou na frente para facilitar a comparação e a edição de dados. Por exemplo, você pode trocar a primeira coluna com a última ou trocar a segunda coluna com a terceira. Para trocar colunas com base em suas posições, selecione a opção
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.
Converta dados CSV para o formato JSON.
Converta dados CSV para o formato XML.
Converter linhas CSV em colunas.
Converter dados CSV para o formato TSV.
Converta rapidamente um arquivo CSV em um arquivo YAML.
Alterar delimitador de arquivo CSV
Encontre rapidamente linhas e colunas em CSV que não tenham valores.
Transponha rapidamente um arquivo CSV.
Insira rapidamente uma ou mais colunas novas em qualquer lugar de um arquivo CSV.
Converter TSV para o formato JSON