Find and Replace in a CSV File
Find and replace in CSV is a free OpenAnyDoc tool. Drop a CSV or Excel file, type what to find and what to put in its place, and replace every match at once.
Runs on your device: no upload, no sign-up, no ads How to check
You can also paste CSV text with Ctrl+V (⌘+V on a Mac).
- CSV: View and edit. .csv, .tsv, .tab, .xlsx, .xls, .xlsm, .ods
Paste text instead
Pasted text stays in this tab and is never sent anywhere.
How it works: find and replace in a CSV
Open your file
Drop a CSV or Excel file, choose it, paste CSV into the paste box, or try one of the samples.
Type what to find and the replacement
Matches are counted and highlighted as you type. Leave the replacement empty to delete the text you find.
Narrow it if you need to
Tick Match case, Whole cell or Regular expression, or choose one column to search.
Replace all and download
Check the preview, press Replace all, then save the result as CSV or Excel. Undo puts the cells back.
Find and replace in CSV: what it can't do
- No fixed limit; it depends on your device's memory
- There is Replace all but no replacing one match at a time; Next only moves to the next matching cell.
- Rows hidden by a filter and hidden columns are not searched or changed.
- Column names in the header row are not changed.
- Excel files: only the first sheet is opened.
Find and replace in CSV: questions and answers
- Is my file uploaded?
- No, your file is never uploaded: your browser finds and replaces the text on your device, and nothing is sent to a server.
- Can I replace text in one column only?
- Yes, you can replace text in one column only. Choose the column under "Only in column"; the other columns are not searched.
- Can I see the changes before they are made?
- Yes, you can see the changes first. The panel shows how many cells match and the first few of them before and after the replacement, and the matches are highlighted in the table.
- Can I use a regular expression to find and replace?
- Yes, regular expressions are supported. Tick Regular expression and type a pattern; groups in round brackets can be reused in the replacement as $1, $2. A pattern that is not valid is reported and nothing is replaced.
- Can I replace matches one by one?
- No, matches can’t be replaced one by one. Replace all changes every match at once. To change only some, filter the rows or pick one column first, since hidden rows and other columns are left alone.
- How do I delete a piece of text from every cell?
- Type it in Find, leave Replace with empty, and press Replace all.
Why it's private: your files never leave your browser
Many online file tools upload your file, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.