π― Easy-to-use tool for text replacements across multiple Word documents at the same time. Handles hyperlinks, shapes, headers, footers safely. Previews changes and processes multiple files at once. Perfect for bulk document updates. Download exe, no installation needed! Made for efficiency.β‘
- Go to exe and download
WordTextReplacer.exe. - Double-click to run. No installation required!
- Add your Word documents and start replacing text.
Option 2: Download executable and add it to your context menu (recommended for the fastest approach)
- Go to exe and download
WordTextReplacer.exe. - Save it to your preferred path. no installation required!
- Go to c_m_e and download
add_word_text_replacer_to_your_context_menu.reg. - Adapt the .reg file by inserting the path where you saved
WordTextReplacer.exe(step 2) in line 8 and 15. (Optional: Edit the icon in line 4 & 11 and the text of the context menu line 5 & 12.) - Run the .reg file and confirm that you want to add it to registry editor. Afterwards, you can delete the .reg file. This is a one-time effort only.
- Right-click on any .doc/.docx/.docm file and click on your context menu entry to run the script. (Optional: Add more files in which you want to run the search and replace workflow.)
- Start replacing text.
It's not much code, just download the three scripts from src and play around with it. :)
| Feature | Standard Replace | Advanced Replace |
|---|---|---|
| Speed | β‘ Very fast | π§ Comprehensive |
| Main content | β Paragraphs & tables | β Paragraphs & tables |
| Shapes & text boxes | β | β |
| Headers & footers | β | β |
| Footnotes & endnotes | β | β |
| Form fields | β | β |
| Formatting preserved? | β | β |
| Hyperlinks | β Replaces text and preserves links. |
Large batch operations (100+ files)/Simple text in paragraphs and tables/No hyperlinks in replacement text/Speed is important/Basic formatting preservation
- Remember: If your file has "special content" (shapes, text boxes, headers, footers, footnotes, endnotes, form fields, and hyperlinks), but you are not going to replace any of this text, you can still use the very fast Standard Replace. It won't break any of your "special content".
If you are going to replace "special content", use Advanced Replace as it will work for both standard content, such as paragraphs and tables, and "special content". It is just slower than the Standard Replace as it does not use python-docx, but the Visual Basic script.
Sometimes you just want to replace a text snippet which is not present in any "special content" and you want to do that as fast as possible. Therefore, I added the very fast Standard Replace (which will maintain formatting, don't worry!).
- π Preview: See changes before running the search and replace workflow.
- π Hyperlink check: Analyze documents for hyperlinks.
- π Non-breaking space support: Use
_nbsp_or Shift+Space. - π Batch processing: Handle multiple documents at once.
- πΎ Backup creation: Optional backup files.
- β¨οΈ Keyboard shortcuts: Efficient workflow.
This video, with a slightly outdated UI, shows the tool in action.
If you don't want to hear me talking for too long, just jump to 3:30.
- Legal documents: Update contract terms across multiple files.
- Technical documentation: Replace product names or versions.
- Marketing materials: Update company information or branding.
- Academic papers: Standardize terminology or citations.
- Corporate communications: Update contact information or policies.
| Shortcut | Action |
|---|---|
F5 |
Preview changes |
Ctrl+Enter |
Standard Replace |
Shift+Enter |
Advanced Replace |
Ctrl+O |
Add more files |
Shift+Space |
Insert non-breaking space |
Ctrl+1/2 |
Focus search/replace boxes |
Tab |
Switch between search & replace boxes |
- OS: Windows 7/8/10/11
- Software: Microsoft Word (for Advanced Replace features)
- Installation: None required for executable version
WordTextReplacer/
βββ c_m_e/ # .reg file
βββ doc/ # User Manual
βββ exe/ # .exe file
βββ src/ # Source Code (one .py & 2 .vbs)
Contributions are welcome! I am not an experienced developer. If you have ideas/upgrades/improvements, I am happy to see your code!
- Fork the repository.
- Create a feature branch.
- Make your changes.
- Submit a pull request.
Licensed under a Source-Available License (Apache 2.0 + No Selling clause). β See LICENSE for details.
The tool is free and I am happy with sharing it with whoever wants to use it. If you want, you can buy me a coffee. βπ And connect with me!
- Built with Python and tkinter for the GUI.
- VBScript integration for advanced Word automation.
- python-docx for fast document processing.
- I used AI to create this tool. :)
β¬π¦β¬ Forza Inter! β¬π¦β¬
Made with enthusiasm for efficient document processing.