Prepend a Column in CSV Online
Prepend a Column in CSV in your browser. Paste a table, get the reshaped table back. No upload.
What this prepend a column in csv online does
Add a column at the beginning of every row. Column numbers start at one; a column can also be named by its header text.
How to use it
Prepend a Column in CSV Online: paste the CSV into the box above, set Name (default "id") and Value (default "1"), and press Run to get the CSV below.
Worked example
Input:
name,role,years
Ada,engineer,7
Linus,maintainer,32
Grace,admiral,41
Output:
id,name,role,years
1,Ada,engineer,7
1,Linus,maintainer,32
1,Grace,admiral,41
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads CSV and returns CSV; reloading the page discards both.
Add a column at the beginning of every row. Column numbers start at one; a column can also be named by its header text.
Prepend a Column in CSV in your browser. Paste a table, get the reshaped table back. No upload.
How to use it
Prepend a Column in CSV Online: paste the CSV into the box above, set Name (default "id") and Value (default "1"), and press Run to get the CSV below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads CSV and returns CSV; reloading the page discards both.
What to Expect
Best for
- Converting CSV to CSV when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
name,role,years Ada,engineer,7 Linus,maintainer,32 Grace,admiral,41
Sample output
id,name,role,years 1,Ada,engineer,7 1,Linus,maintainer,32 1,Grace,admiral,41
Frequently asked questions
How do I use the prepend a column in csv online?
Prepend a Column in CSV Online: paste the CSV into the box above, set Name (default "id") and Value (default "1"), and press Run to get the CSV below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.