Конвертировать CSV в JSON
Конвертируйте данные CSV в формат JSON.
Загрузите CSV-файл в форму ниже, и он будет автоматически преобразован в TSV-файл. В настройках инструмента вы можете настроить формат входного CSV-файла: указать разделитель полей, символ кавычек и символ комментария, а также включить пропуск пустых строк CSV-файла и выбрать, сохранять ли заголовки столбцов CSV-файла.
Этот инструмент преобразует данные из формата CSV (Comma Separated Values) в данные из формата TSV (Tab Separated Values). CSV и TSV — популярные форматы файлов для хранения табличных данных, но в них используются разные разделители для разделения значений: в CSV используются запятые (
In this example, we transform a Comma Separated Values (CSV) file containing a leaderboard of gaming data into a Tab Separated Values (TSV) file. The input data shows the players' names, scores, times, and goals. We preserve the CSV column headers by enabling the "Preserve Headers" option and convert all data rows into TSV format. The resulting data is easier to work with as it's organized in neat columns
In this example, we load a CSV file containing coffee varieties and their origins. The file is quite messy, with numerous empty lines and comments, and it is hard to work with. To clean up the file, we specify the comment pattern // in the options, and the program automatically removes the comment lines from the input. Also, the empty lines are automatically removed. Once the file is cleaned up, we transform the five clean rows into five columns, each having a height of two fields.
In this example, we swap rows and columns in CSV data about team sports, the equipment used, and the number of players. The input has 5 rows and 3 columns and once rows and columns have been swapped, the output has 3 rows and 5 columns. Also notice that in the last data record, for the "Baseball" game, the number of players is missing. To create a fully-filled CSV, we use a custom message "NA", specified in the options, and fill the missing CSV field with this value.
Конвертируйте данные CSV в формат JSON.
Конвертировать данные CSV в формат XML.
Преобразовать строки CSV в столбцы.
Изменить порядок столбцов CSV.
Быстро конвертируйте CSV-файл в YAML-файл.
Изменить разделитель CSV-файла
Быстро находите строки и столбцы в CSV-файле, в которых отсутствуют значения.
Быстро транспонируйте CSV-файл.
Быстро вставляйте один или несколько новых столбцов в любое место CSV-файла.
Конвертировать формат TSV в JSON