FREE ONLINE TABLE TOOL

Find and replace in CSV

Replace the intended text in the intended columns. Find and replace literal text only in the columns you select.

No account neededFiles stay on your deviceOriginals preserved

Start with your data

Import data, confirm the rules, review the result, and export a new copy.

◈ Processed on your device
1Import data—2Configure—3Review—4Export

Drop your table here

Drag and drop a CSV, TSV, or delimited text file

UTF-8 · Up to 10 MB per file

Start with your data

File content is processed in your browser, without uploading it.
Kept in page memory · Continue across tools · Refreshing or closing clears the sessionCSV / TSV · UTF-8
Sample library Products · Supplier files · System imports

Clear this session?

Imported data, steps, and results will be released. Export any needed copies first. Original files are unaffected.

A CLEARER WAY TO WORK

Replace the intended text in the intended columns.

Explore the scope, review process, and results in three practical scenes.

01 / SCOPE & PURPOSE

Keep replacement within its scope

Update an old category, standardize a prefix, or correct a fixed phrase after choosing target columns. Matching text in unrelated notes or identifiers stays untouched.

Illustrative scene for Find and replace in CSV: Keep replacement within its scope
Illustrative scene
02 / RULES & REVIEW

Use literal, understandable matching

Search text is treated literally, not executed as code or a regular expression. An empty replacement deliberately clears matched text.

Illustrative scene for Find and replace in CSV: Use literal, understandable matching
Illustrative scene
03 / RESULTS & NEXT STEPS

Inspect every replacement

Review changed cells and source locations after running. If a rule changes, rerun and inspect the result before exporting the intended scope.

Illustrative scene for Find and replace in CSV: Inspect every replacement
Illustrative scene
BUILT FOR YOUR TABLES

What Find and replace in CSV can do

Explore the available features and choose what your table needs next.

Selected-column scope

Replace text only in selected fields, preserving all other columns.

Use in the tool

Literal text search

Treat special symbols as characters instead of regex or executable script.

Use in the tool

Empty replacement allowed

Replace matches with empty text when you deliberately want to remove them.

Use in the tool

Cell-by-cell change report

Inspect before-and-after values for each changed cell.

Use in the tool

Rerun changed rules

Changed settings mark previous results stale to prevent an incorrect export.

Use in the tool

Save rules and results

Save rules locally for reuse and export the result as a fresh copy.

Use in the tool
HOW IT WORKS

Three steps to a reviewed result

Confirm the input, inspect changes, and save the output you need.

01

Import and confirm the source

Choose a CSV or TSV file, or paste a table. Check the delimiter, headers, and preview before confirming the full import.

  • Content stays in your browser
  • Source files remain intact
Go to the input area
02

Set the rules, run, and review

Select target columns, enter literal find and replacement text, and choose the available matching options. Review the cell-change report before applying or exporting.

  • Process the full dataset
  • Review results and sources
Set processing rules
03

Choose a scope and export a copy

Choose the result or report and CSV or TSV format. Review the export summary and protection count, then confirm download or copy.

  • Read-back verification before export
  • Choose the scope explicitly
Continue in the tool
Need detailed rules, examples, and limits?Read the full guide

Replace text inside selected CSV cells

Find and replace in CSV should operate on parsed cell values, not on the raw file as an undifferentiated string. A comma can be a delimiter or part of a quoted description, and a newline can separate records or live inside one cell. TableWorkbench parses the table first, applies literal text replacement only to the columns you choose, and serializes the result correctly when exporting. This keeps structural characters separate from the content you intend to edit.

Choose a UTF-8 CSV, TSV, or delimited text file, or paste cells from a spreadsheet. Confirm the delimiter, quoting, header, and any skipped introductory records. If the parser identifies malformed quotes or extra fields, resolve the input rather than proceeding with an uncertain structure. Once the file is confirmed, select the columns that should be searched. No column is selected for editing merely because it contains a value that resembles your search text.

Choose whole-cell or substring matching

Entire cell requires the cell's complete text to match your find text under the selected case rule. It is useful for replacing a known category code or a specific missing marker without touching longer descriptions that contain the same characters. Substring mode replaces occurrences within a cell, which fits changing a repeated label or correcting a phrase in selected description fields. The two modes can produce very different scopes, so inspect them with representative data.

The find text must be nonempty. Searching for an empty string would match between characters and create a surprising bulk edit, so the tool blocks it. The replacement may be empty, which means the matching content is removed. In whole-cell mode that clears the cell. In substring mode it removes only the matched portions and leaves other text. The interface states this consequence so a blank replacement is an intentional instruction rather than an omitted field.

Case sensitivity is a separate decision

Case-sensitive matching is the default. A find value of blue will not match Blue unless you turn that distinction off. Case-insensitive literal matching is useful when different source systems capitalize a known label differently. It is not fuzzy matching, translation, accent removal, or spelling correction. Do not assume that two visually similar words will match under every language's conventions. Test the exact characters present in your file and inspect the reported changes.

The first version does not accept regular expressions or user scripts. A dot, asterisk, bracket, or dollar sign in the find field is literal text, not programming syntax. Replacement text is also inserted literally, including quotation marks or delimiters. This keeps a nontechnical task bounded and avoids executing expressions from imported content. Formulas and script-looking strings in cells are never evaluated by the workbench.

A quoted and multiline example

Suppose a record has SKU 001, a Note cell containing A, a comma, a lowercase a, a newline, and b, plus a separate Keep cell containing A. Select Note only. Search for a, replace it with a quoted Q, choose substring matching, and turn off case sensitivity. There are two matching occurrences inside the Note cell. The Keep column remains A because it was outside the selected scope, and SKU remains the text 001.

The replacement introduces quote characters into a cell that already contains a comma and newline. The internal result stores the intended text, and export adds the necessary CSV quoting and doubled quote escapes. Reading the generated CSV should recover the same cell value. A raw search-and-replace across the original file could instead alter delimiters or quoting syntax, which is why the parser and serializer surround the text-editing operation.

Review occurrences, cells, and records separately

Matched occurrences counts how many find matches were identified. Affected cells counts cell changes, and affected records identifies rows whose stored values changed. One cell can contain several occurrences, while several changed cells can belong to one record. A replacement that inserts the same text it found can have matches without a meaningful value change. Interpret these statistics according to their labels instead of expecting all the numbers to be equal.

The change report includes the column, prior value, resulting value, and original source location. Use it to inspect the exact edit before applying the result to the workflow. The original view remains available, and a search in the preview only helps locate records; it does not change the replacement scope. If you change the find text, replacement, selected columns, or matching rule, the prior result becomes stale and must be recomputed before export.

Continue with an explicit transformation history

Apply the reviewed result when the next tool should use the replacement. You can then clean another field, deduplicate by a corrected code, map columns, or split the table without downloading it between steps. Undo returns to the preceding workflow table, and redo restores the accepted replacement when available. Reordering or disabling workflow steps can change later results, so the workbench recomputes from preserved inputs rather than treating an old preview as current.

Save rules can help repeat a known replacement on a table with the same source structure. The downloaded configuration does not contain the complete dataset, but the find and replacement values can still reveal sensitive information. Check a rule file before sharing it. A loaded rule should be reviewed against the actual new data even when its headers match, because a familiar column name does not guarantee that the same replacement is appropriate for every source.

Export the reviewed scope

Choose the full result or the change report explicitly in the export dialog. CSV and TSV are supported, with header inclusion and UTF-8 BOM controls. Spreadsheet protection can add an apostrophe to values beginning like formulas, including some legitimate signed text. Its count is shown before download. Raw export preserves the stored strings but requires acknowledging that another application may interpret them as formulas. These export choices are separate from the replacement you reviewed.

The generated text is parsed again to verify its intended records and cells before a new file is offered. A failed verification produces an error rather than a partial success. This check supports structural correctness; it does not establish that your replacement phrase is factually correct or that a receiving system will accept the file. Keep the source and the change report when the edit needs to be explained later.

Frequently asked questions

Can I replace a whole cell instead of every occurrence inside it?

Choose the supported whole-cell matching option when only complete values should change. Literal substring replacement serves a different purpose and may change part of a longer value. Restrict the rule to the intended columns and inspect the changes report, especially when the replacement is empty or the find text is short.

Can I replace text in only one column?

Yes. Select that column and leave the others unchecked. Replacement occurs only in the selected scope. This is useful when a short code appears both in an identifier field and inside a description but only one should change. Check the change report and untouched neighboring columns before applying a broad replacement.

What happens if the replacement field is blank?

The matched text is removed. With whole-cell matching, the entire matching cell becomes an empty string. With substring matching, other text in the cell remains. An empty find value is blocked, because that would create an undefined or unexpectedly broad operation. A blank replacement is allowed only as the visible rule you configure.

Can I replace a comma without corrupting CSV columns?

Yes, when the comma is part of a parsed cell value and the intended column is selected. The workbench edits that content and then serializes the table with appropriate quoting. It does not replace the file's structural delimiters through this operation. To change output delimiters, choose CSV or TSV in export instead.

Why did the operation report matches but little visible change?

Several matches can occur in one cell, and a replacement can be identical to the matched text. The summary distinguishes occurrences from changed records. Inspect the old and new cell values rather than interpreting every match as a distinct modification. No change is a valid result when the rule leaves the stored text equivalent.

Will this fix misspelled names automatically?

No. It performs the literal rule you enter and does not infer identity, correct spelling, or decide that similar names refer to the same entity. For ambiguous values, inspect and correct the source with appropriate context. A bulk replacement should be narrow enough that you can explain why every affected occurrence belongs in its scope.

Ready to work with your table?

Start with a sample to learn the workflow, then process your own files.