Conversion Tools100% Client-Side

Replace Values in a CSV Column

Choose a CSV column and update the text in that field across the table. Enter a search value to replace each matching piece of text within the selected cells. Leave search blank to overwrite every existing cell in that column with the replacement value. The other columns keep their order. Check the first row before applying a broad replacement because heading cells are processed just like data.

Configuration Options
Input
21 chars•3 lines
Output

How to Use the Replace CSV Column Values Online

  1. 1Paste the source table and count the target field from the left. Enter its one-based number under Target Column.
  2. 2Fill in Search Value to replace matching text in that column. Clear it when you intend to overwrite each selected cell.
  3. 3Enter the Replacement Value, then compare the result with the source. Search is case-sensitive and can match part of a longer cell value.
  4. 4Copy the result after checking the first row and any cells where a short search phrase could occur inside a longer word.

Input & Output Examples

Set Target Column to 2, Search Value to paid, and Replacement Value to free. Both occurrences are replaced, including the one inside unpaid.

Input Sample
item,tier
Tea,paid
Coffee,unpaid
Expected Output
item,tier
Tea,free
Coffee,unfree

Set Target Column to 2, clear Search Value, and set Replacement Value to queued. The heading cell changes as well.

Input Sample
code,first
A,old
B,previous
Expected Output
code,queued
A,queued
B,queued

Practical Developer Workflows

  • Rename text in one field without changing cells in adjacent columns that happen to contain the same phrase.
  • Set an existing column to a common state across a test fixture before running an import.
  • Remove a recurring prefix from one column while retaining each cell’s remaining text.

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

A nonempty search value can match a substring of a cell. The tool replaces every case-sensitive match it finds within the selected column. Inspect the result when the search text also appears inside longer labels.

Explore Other Tools

12 suggested tools

View all tools