Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Append CSV Columns

Add new columns to your CSV data with custom names, default values, and position controls

Your files never leave your browser
Column Name:
Default Value:
Position:
CSV Input0 chars, 0 lines
Drag & drop a CSV file here, or browse
Accepts .csv, .tsv, .txt files
Output with New Column0 chars, 0 lines
Ready·

Paste your CSV, pick a column name and default value, and drop it exactly where you need it — first position, last, or after any existing column. Every row gets filled in one click. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste CSV
➔
Set Column Name & Value
➔
Get Updated CSV

The parser reads your CSV row by row, respecting quoted fields and commas inside values. It splits the header to figure out your column count, inserts the new column name at your chosen position, then walks through every data row doing the same insertion with your default value. The whole thing happens in JavaScript — no server round-trip.

Examples

Adding a Status Column to a User Export

Your CRM export doesn’t include account status, but the import template requires it. Every record should default to “active.”

INPUT
name,email Alice,[email protected] Bob,[email protected] Carol,[email protected]
OUTPUT
name,email,status Alice,[email protected],active Bob,[email protected],active Carol,[email protected],active

Inserting a Region Column at the Beginning

All records in this batch are from the same region. Instead of editing 200 rows in a spreadsheet, add the column at position 1.

INPUT
id,product,qty 101,Widget A,50 102,Widget B,30
OUTPUT
region,id,product,qty US-East,101,Widget A,50 US-East,102,Widget B,30

Adding an Empty Notes Column for Manual Review

You need a blank “notes” column so reviewers can fill it in after import. Set the default value to empty.

INPUT
task,assignee,due Fix login bug,Sara,2026-04-01 Update docs,Mike,2026-04-05
OUTPUT
task,assignee,due,notes Fix login bug,Sara,2026-04-01, Update docs,Mike,2026-04-05,

Who Uses This

💻 Developers

Prepping CSV fixtures for database seeds or API test payloads that need an extra field.

📊 Data Analysts

Adding a “source” or “batch_id” column before merging datasets from different vendors.

💼 Project Managers

Tagging exported task lists with priority or department columns before re-importing.

📚 Students

Adding classification labels to sample datasets for class assignments without writing code.

Common Mistakes

Forgetting the header row

The tool treats the first row as the header. If your CSV has no header, the first data row will get the column name instead of the default value. Add a temporary header row first, then remove it after.

Using a column index that’s way too high

If you pick “after column 20” but your CSV only has 4 columns, the tool places the new column at the end. That’s fine — but if you expected it at a specific middle position, double-check your count.

Pasting tab-separated data instead of comma-separated

If your data uses tabs (TSV), the parser will treat each entire row as one field. Convert to CSV first — most spreadsheet apps let you “Save As” with comma delimiters — or use a TSV-specific tool.

Technical Details

Frequently Asked Questions

Can I add multiple columns at once?

One at a time. Append a column, copy the result back into the input, and repeat for the next one. Each pass lets you set a different name, value, and position — takes about five seconds per column.

Does the first row have to be a header?

The tool assumes it is. Row 1 gets the column name you type in, and every other row gets the default value. If your file has no header, that first data row will end up with the column name instead of actual data. Quick workaround: add a dummy header before pasting.

Is my CSV data sent to a server?

No. Everything runs in JavaScript inside your browser. Your data is not uploaded, logged, or transmitted anywhere. Close the tab and it’s gone.

What if my CSV uses semicolons instead of commas?

This tool expects standard comma-delimited CSV. If your file uses semicolons (common in some European locales), do a find-and-replace to swap semicolons for commas first, or re-export from your spreadsheet with comma as the delimiter.

Can I choose different values for different rows?

Not directly — the tool fills every row with the same default value. If you need row-specific values, append the column with a placeholder, download the result, then edit individual cells in a spreadsheet. It still saves you the column-setup step.

Share: