Convert CSV to JSON
Convert CSV data to JSON format.
Change the delimiter/separator in CSV files. Convert between different CSV formats like comma, semicolon, tab, or custom separators.
Change the delimiter/separator in CSV files. Convert between different CSV formats like comma, semicolon, tab, or custom separators.
In this example, we change the column separator to the semicolon separator in a CSV file containing data about countries, their populations, and population densities. As you can see, the input CSV file uses the standard commas as separators. After specifying this delimiter in the source CSV options, we set a new CSV delimiter for the output file to a semicolon, resulting in a new CSV file that now uses semicolons ";" in the output. Such CSV files with semicolons are called SSV files (semicolon-separated values files)
In this example, a data scientist working with flowers was given an unusual CSV file that uses the vertical bar symbol as the field separator (such files are called PSV files – pipe-separated values files). To transform the file back to the standard comma-separated values (CSV) file, in the options, she set the input delimiter to "|" and the new delimiter to ",". She also wrapped the output fields in single quotes, enabled the option to remove empty lines from the input, and discarded comment lines starting with the "#" symbol.
In this example, we import CSV data with zombie characters from the game Plants vs. Zombies. The data includes zombies names, the level at which they first appear in the game, their health, damage, and speed. The data follows the standard CSV format, with commas serving as field separators. To change the readability of the file, we replace the usual comma delimiter with a slash symbol, creating a slash-separated values file.
Convert CSV data to JSON format.
Convert CSV data to XML format.
Convert CSV rows to columns.
Convert CSV data to TSV format.
Reorder CSV columns.
Quickly convert a CSV file to a YAML file.
Quickly find rows and columns in CSV that are missing values.
Quickly transpose a CSV file.
Quickly insert one or more new columns anywhere in a CSV file.
Convert TSV to JSON format