.docx Bulk Replace Tool (offline, single HTML)
About this tool
Drop multiple .docx
files, apply your replacement rules to the body, headers, footers, footnotes, and comments, then download each file or the combined ZIP archive.
All processing happens entirely in your browser (no data is sent).
1) Add .docx files
Drag & drop .docx files here, or
Only .docx files are supported (legacy .doc files are not).
0 files.
2) Replacement rules
Search (pattern) | Replace (replacement) | Regex | Case | Word boundary | Delete |
---|
* Word boundary (\b
) focuses on alphanumeric words and has limited effect on Japanese text.
Apply mode:
Simultaneous replace locks all match ranges first and then replaces them together to avoid chains such as a→b, b→d.
3) Run & results
Results
File name | Replacements | Download |
---|
Replacements target word/*.xml
(body, headers, footers, footnotes, comments, etc.).
Formatting is preserved, but Word may redistribute some run boundaries when saving; the visual output is typically unchanged.
How to use
- Add your
.docx
files via drag and drop or the “Choose files” button. - Define replacement rules in the table or paste CSV/TSV data (column 1 = search, column 2 = replace) and click “Expand into table.”
- Select sequential or simultaneous mode, adjust Regex / Case / Word boundary options per row, and click “Run replace.”
- Download each processed document or export everything as a ZIP archive. You can also download the replacement log as CSV.
Notes
- The tool targets
word/*.xml
files inside the archive, so embedded objects or binary parts remain untouched. - Simultaneous mode prevents chained replacements (for example a→b, b→c) by resolving all matches before applying changes.
- Word may redistribute run boundaries after saving; formatting is typically preserved but large documents can take longer to process.
- Use the log CSV to audit how many replacements were applied per document and per rule.