Conversion Tools100% Client-Side

Prepend a Column to TSV

Prepend a field when a tab-delimited import expects a value before the existing table. The new cell is always the leftmost field of the row. This works well for a source identifier shared by all records or an empty slot that a worksheet user will fill later. The original fields retain their relative order and move one position to the right, including any headings in the first row.

Configuration Options
Input
17 chars•2 lines
Output

How to Use the Prepend TSV Column Online

  1. 1Paste the TSV range with its original tabs. Include headings if they belong in the resulting range alongside the data.
  2. 2Enter one text value in Column Values to add it to each line. Clear it to create an empty slot at the left.
  3. 3Check that the original first field now appears second. The new value is followed by a real tab delimiter.
  4. 4Copy the result to the destination and supply an appropriate name for the new field in the header row if needed.

Input & Output Examples

Set Column Values to site-4 to add that location before every original row.

Input Sample
device	state
A	ready
B	hold
Expected Output
site-4	device	state
site-4	A	ready
site-4	B	hold

Clear Column Values. Each result line begins with a tab after its blank leading cell.

Input Sample
sku	stock
007	12
Expected Output
	sku	stock
	007	12

Practical Developer Workflows

  • Tag records with the name of their source before combining exports from multiple sites.
  • Leave a blank first column for an ID that will be assigned after spreadsheet import.
  • Adjust a tab-based fixture for a destination that expects a leading classification field.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The new field can be empty, so the output line may begin with what looks like whitespace. Its leading tab separates that field from the original first cell. Open in a tab-aware tool to see the blank column.

Explore Other Tools

12 suggested tools

View all tools