ToolsEdit PDFArticlesPricingContact
TryPDFKit
Documents tool

Find and Replace in DOCX

Swap a name, a date or a phrase throughout one or many Word files in one pass. Formatting stays exactly as it was, and nothing leaves your device.

  • 3 free uses, no sign-up
  • Many files at once
  • Keeps formatting
  • Regex supported

Drop your files here

or click to browse your device

  • DOCX
  • DOCM
  • DOTX
Files never leave your device
  • Files stay on your device
  • 3 free uses, no account needed
  • Works offline once loaded
How was Find and replace in DOCX?
Be the first to rate this tool.
1How it works

Find and replace in DOCX in three steps

  1. 01

    Add your documents

    Add the Word files to search. You can edit a whole set in one pass.

  2. 02

    Type what to find and replace

    Enter the text, leave Replace with empty to delete it, and tick options for case, whole words or a regular expression.

  3. 03

    Download the updated files

    Each file is saved with the changes, and the note shows how many replacements were made.

2The details

What you get, and what to know

What you get

  • Everywhere in the fileThe body, headers, footers, footnotes and endnotes are all searched.
  • Formatting survivesA replaced word keeps the bold, color or font of the text it replaced.
  • Works across formatting changesA phrase is found even when Word split it into several pieces because part of it is bold.
  • Case, whole word and regexMatch upper and lower case, whole words only, or use a regular expression with $1, $2 for captured groups.
  • Whole folders at onceApply the same change to as many documents as you add.

Good to know

  • Text in the document onlyText inside pictures and the text of comments are not changed.
  • No match is an errorIf the text is not found in a file, you are told, and no copy is made for that file.
  • Try it on a copy firstCheck the result before overwriting the original. To see what changed, use Compare Word documents.
3Use cases

When people use Find and replace in DOCX

Update a company name

Fix a rebrand across every contract and letter.

Change dates in old forms

Replace a year in a whole set of templates.

Standardize spelling

Change a term used inconsistently across chapters.

Mask sensitive words

Replace a name or number with a placeholder before sharing a file.

Using regular expressions

A regular expression describes a pattern instead of a fixed word. Tick the option, then use a pattern such as (\d{2})/(\d{2})/(\d{4}) with $2/$1/$3 as the replacement to flip day and month in dates.

If a pattern has a typo, the tool says it is not a valid expression instead of changing anything.

Make safe edits

A few habits avoid surprises:

  • Use Whole words only when replacing short words, so cat does not change inside category.
  • Leave Match case off for names typed in different capitals.
  • Work on copies, and keep your original until you have checked the output in Word.

Fill documents from data

To create many documents from one template, Document template filler replaces placeholders from a list or CSV.

4FAQ

Questions, answered

How do I find and replace text in several Word files at once?+

Add all the .docx files, enter the text to find and its replacement, and download the updated copies.

Are my documents uploaded?+

No. The edit happens in your browser, so the files stay on your device.

Does it change headers and footers?+

Yes. Headers, footers, footnotes and endnotes are searched along with the main text.

Will bold or colors be lost?+

No. Replaced text takes on the formatting of the text it replaces.

Can I use wildcards?+

Use the regular expression option, which is more flexible than Word's wildcards.

Does it work on a Mac, Windows PC or phone?+

Yes. It runs in any modern browser, so no Word is required.

+Keep going

Related tools