᠎᠎᠎          
51K

Csv column inserter

World's simplest csv tool

Free online CSV column inserter. Just load your CSV, enter the new columns and column number or name where to insert the new columns, and you'll get those columns inserted. Load CSV, insert columns. There are no ads, popups or nonsense, just an awesome CSV column inserter. Created by programmers from team Browserling.
we wrote the curl cookbook!
Super exciting news – we just wrote the Curl Cookbook full of organic, nutritious, and completely irresistible curl recipes. Check it out!
Insert Column
Enter your CSV to be inserted
Select Column
Which column to insert after?
Selection
Matches all occurences of a column
Csv column inserter tool What is a csv column inserter?
This tool inserts a new column of data in existing Comma Separated Values (CSV). You can select the column where to insert the data by column's number or column's name. If you choose Select all option, then the new column will be inserted after every column with that name.
Csv column inserter examples Click to use
Inserting data between columns 1 and 2
This example inserts a column with values val1 and val2 between columns one and two.
foo,bar aaa,bbb
foo,val1,bar aaa,val2,bbb
Required options
These options will be used automatically if you select this example.
Enter your CSV to be inserted
Which column to insert after?
Insert data after duplicate columns
This example inserts a new column after all columns that have column title "name".
name,age,name,age john,22,jack,23
name,city,age,name,city,age john,22,nyc,jack,23,nyc
Required options
These options will be used automatically if you select this example.
Enter your CSV to be inserted
Which column to insert after?
Matches all occurences of a column
Pro tips Master online csv tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinecsvtools.com/insert-csv-columns?input=foo%2Cbar%0Aaaa%2Cbbb&insert-column=val1%0Aval2&insert-which-column=1
All csv tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly convert a CSV file to a JSON data structure.
Quickly convert a JSON data structure to a CSV file.
Quickly convert a CSV file to an XML file.
Quickly convert an XML file to a CSV file.
Quickly convert a CSV file to a YAML file.
Quickly convert a YAML file to a CSV file.
Quickly convert a CSV file to a TSV file.
Quickly convert a TSV file to a CSV file.
Quickly convert a CSV file to evenly aligned text columns.
Quickly convert text columns to a CSV file.
Quickly encode CSV to base64.
Quickly decode base64 to CSV.
Quickly convert CSV to URL-encoding.
Quickly decode CSV from URL-encoding.
Quickly change the CSV column delimiter to a new symbol.
Quickly prepend columns at the beginning of a CSV file.
Quickly append one or more new columns at the end of a CSV file.
Quickly insert one or more new columns anywhere in a CSV file.
Quickly export one or more columns from a CSV file.
Quickly replace one or more columns in a CSV file.
Quickly delete one or more columns from a CSV file.
Quickly swap two columns in a CSV file.
Quickly exchange columns with rows in a CSV file.
Quickly exchange rows with columns in a CSV file.
Quickly transpose a CSV file.
Quickly truncate columns in a CSV file.
Quickly left-trim and right-trim column values in a CSV file.
Coming soon These csv tools are on the way
Print CSV Statistics
Display detailed information about a CSV file.
Convert CSV to HTML
Convert CSV to an HTML table.
Convert HTML to CSV
Convert an HTML table to a CSV file.
Convert CSV to ASCII Table
Draw an ASCII table from CSV data.
Convert CSV to ANSI Table
Draw an ANSI table from CSV data.
Convert CSV to PDF
Convert CSV to a PDF document.
Convert PDF to CSV
Extract data from a PDF and create a CSV file.
Convert CSV to an Image
Draw a CSV file as a PNG, JPG or GIF picture.
Convert Image to CSV
Extract data from an image and create a CSV file.
Convert CSV to Excel
Convert CSV to an Excel spreadsheet.
Convert CSV to LaTeX
Convert CSV to a LaTeX table.
Convert CSV to SQL
Generate SQL queries from a CSV file.
Convert CSV to INI
Convert a CSV file to an INI file.
Convert INI to CSV
Convert an INI file to an CSV file.
Preview CSV in the Browser
Show the contents of CSV in your browser.
Merge CSV Files
Merge together two CSV files.
Find Data in CSV
Find CSV cells that contain certain data.
Filter CSV Cells
Return data in a CSV file that matches a pattern.
Rotate CSV Columns
Move CSV columns to the left or right.
Rotate CSV Rows
Move CSV data rows up or down.
Sort CSV Columns
Sort the data in one or more CSV columns.
Sort CSV Rows
Sort the data in one or more CSV rows.
Shuffle CSV Columns
Randomly change the positions of CSV columns.
Shuffle CSV Rows
Randomly change the order of CSV rows.
Shuffle CSV Values
Randomly change the order of all CSV values.
Create a Random CSV
Generate a random CSV of any size.
Unquote CSV Fields
Remove double quotes from all CSV fields.
Quote CSV Fields
Wrap all CSV fields in double quotes.
Change CSV Quote Character
Change the character that CSV fields are wrapped in.
Delete Empty CSV Columns
Delete columns that are completely empty.
Delete Empty CSV Rows
Delete rows that are completely empty.
Delete Empty CSV Values
Delete all items in a CSV file that are empty.
Minify CSV
Compress a CSV file and remove unnecessary spaces.
Add Extra Spaces in CSV
Add extra spaces between CSV columns.
Compare Two CSV Files
Diff CSV files and show differences visually.
Convert CSV Columns to an Array
Convert CSV columns to a flat array or a list.
Convert CSV Rows to an Array
Convert CSV rows to a flat array or a list.
Find CSV Dimensions
Find the number of rows and columns of a CSV file.
Add Color to CSV
Use different colors for CSV data, quotes, and commas.
Animate a CSV File
Animate CSV data by showing column after column.
Validate CSV
Check if the given CSV file doesn't contain syntax errors.
Visualize CSV
Create a visual drawing that shows the CSV structure.