Replace text in multiple files
Getting ready…
Getting ready…
Replace text in multiple files User guide
Preview literal or regular-expression replacements before saving.
Instructions
- Select text files and their input encoding.
- Enter the search and replacement text. If using a regular expression, choose g, i, m, s or u flags as needed.
- Replace, review each file's status and before/after text, then save individually or as a ZIP.
Example
Input / settings
cat → dog in 3 text files
Result / checks
3 revised UTF-8 files
Please note
TXT / CSV / JSON / XML / Markdown → Files / ZIP
- Original files are not overwritten; output is UTF-8. Literal mode replaces all matches. Regex mode replaces only the first match without g.
- Up to 40 files, 8 MB each and 32 MB total. A regex taking about 2.5 seconds is stopped; simplify it and retry.
- Files and entered content are processed in this browser. Save results before closing the page.