Add a source column at the beginning
Input
source api api name,role John,admin Anna,editor
Output
source,name,role api,John,admin api,Anna,editor
Useful when you want every row labeled with its source.
Text Tools
Review practical Prepend a CSV Column examples so you can understand expected input, output, and common patterns faster.
Use this tool to prepend a new column to CSV data. It is useful when you need to add a fixed field, label, source tag, environment marker, or other leading column before existing CSV data.
Example pages are especially useful for text tools because they show what good input looks like, what kind of output to expect, and how the tool behaves in common scenarios.
Input
source api api name,role John,admin Anna,editor
Output
source,name,role api,John,admin api,Anna,editor
Useful when you want every row labeled with its source.
Input
env prod prod id,title 1,Book 2,Pen
Output
env,id,title prod,1,Book prod,2,Pen
Adds a new leading field before the existing CSV columns.
Fix: Provide one new value for each CSV row below the header.
Fix: Put the new header and values first, then a blank line, then the CSV.
Fix: Make sure the CSV itself is valid before adding a new column.
After reviewing these examples, run the live tool with your own input. If your task involves a follow-up step, the related page can help you move to the next tool in the workflow.
Open the main Prepend a CSV Column page and test your own real input.