Swap CSV Columns

Form for swap CSV columns

This form allows you swap any columns from CSV data, paste or upload your CSV file below:



Your result can be seen below.

Result of swapping CSV columns


Move to "Paste Code" for Save it

About swapping CSV columns

About swapping CSV columns

The Swap CSV Columns was created for online swapping columns in the CSV(Comma Separated Values) data. You can swap any columns by their number or by their name and also it supports custom CSV column delimiters.

How it Works?

Just select the options you need and paste your CSV data to the textarea above and click to the button "Convert" and you will instantly get modified CSV.

Example of swapped CSV columns

Before:
"LatD", "LatM", "LatS", "NS", "LonD", "LonM", "LonS", "EW", "City", "State"
   41,    5,   59, "N",     80,   39,    0, "W", "Youngstown", OH
   42,   52,   48, "N",     97,   23,   23, "W", "Yankton", SD
   46,   35,   59, "N",    120,   30,   36, "W", "Yakima", WA
   42,   16,   12, "N",     71,   48,    0, "W", "Worcester", MA
   43,   37,   48, "N",     89,   46,   11, "W", "Wisconsin Dells", WI
After swapping columns 1 and 2:
 "LatM","LatD", "LatS", "NS", "LonD", "LonM", "LonS", "EW", "City", "State"
    5,   41,   59, "N",     80,   39,    0, "W", "Youngstown", OH
   52,   42,   48, "N",     97,   23,   23, "W", "Yankton", SD
   35,   46,   59, "N",    120,   30,   36, "W", "Yakima", WA
   16,   42,   12, "N",     71,   48,    0, "W", "Worcester", MA
   37,   43,   48, "N",     89,   46,   11, "W", "Wisconsin Dells", WI
After the conversion, you can apply your modified CSV to your project or use it for some other purpose.
Donate

Did you like this tool? You can donate to us. This will help us improve our free web tools.

Paypal