Конвертировать CSV в JSON
Конвертируйте данные CSV в формат JSON.
Просто загрузите CSV-файл в форму ниже, укажите столбцы для замены, и инструмент автоматически изменит положение указанных столбцов в выходном файле. В настройках инструмента вы можете указать положение или названия столбцов, которые хотите заменить, а также исправить неполные данные и при необходимости удалить пустые и закомментированные записи.
Этот инструмент реорганизует данные CSV, меняя местами столбцы. Перестановка столбцов может улучшить читаемость CSV-файла, размещая часто используемые данные вместе или в начале для более удобного сравнения и редактирования. Например, можно поменять местами первый столбец с последним или второй столбец с третьим. Чтобы поменять местами столбцы, выберите
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.
Конвертируйте данные CSV в формат JSON.
Конвертировать данные CSV в формат XML.
Преобразовать строки CSV в столбцы.
Конвертировать данные CSV в формат TSV.
Быстро конвертируйте CSV-файл в YAML-файл.
Изменить разделитель CSV-файла
Быстро находите строки и столбцы в CSV-файле, в которых отсутствуют значения.
Быстро транспонируйте CSV-файл.
Быстро вставляйте один или несколько новых столбцов в любое место CSV-файла.
Конвертировать формат TSV в JSON