How to Use Replace All in Word

To replace repeated text in Word, open Home > Replace or press Ctrl+H in Word for Windows. Enter the old text in Find what, the new text in Replace with, and choose Replace All. Before making a document-wide change, save a copy and check whether the search could also match part of another word.

Replace every intended match

  1. Open the document and save a copy if the wording matters or many people use the file.
  2. Go to Home > Replace. Enter the exact phrase to locate in Find what and the intended wording in Replace with. Check leading and trailing spaces in both boxes.
  3. Choose Find Next to inspect one or two examples. If some matches should stay unchanged, use Replace one at a time instead.
  4. When the search is specific enough, choose Replace All. Note the count Word reports, then search for the old phrase again and inspect representative replacements.

For example, changing “Spring draft” to “Summer draft” is safer than searching only for “Spring” if the document also contains a spring mechanism. The safest search text identifies the intended context.

Replace text in only part of the document

To limit the change to one section, select that text before you open Replace, then choose Replace All. Word changes only the matches inside the selection and then asks whether to search the rest of the document. Choose No to leave everything else alone.

Open Replace in Word for Mac

In Word for Mac, choose Edit > Find > Replace. A pane opens with Search for and Replace with boxes plus Replace and Replace All buttons. For whole-word, case, or wildcard options, choose Edit > Find > Advanced Find and Replace.

Replace text in headers, footers, and footnotes

In desktop Word, Replace All also checks headers, footers, footnotes, and text boxes when the search covers the whole document. Choose More and confirm the Search menu is set to All, not Up or Down.

Advertisements

If a header or footer still shows the old text, run the replacement from inside it:

  1. Double-click the header or footer to open it for editing.
  2. Press Ctrl+H on Windows, or Control+H in Word for Mac.
  3. Enter the old and new text and choose Replace All.
  4. Double-click the body of the page to close the header or footer.

Check a page from each section afterward, since different sections can have their own headers and footers.

Prevent changes inside other words

A basic search can match text inside a longer word. If you replace “cat,” you may also affect “catalog.” In desktop Word’s Find and Replace dialog, choose More > Find whole words only when you need standalone words. Use Match case when capitalization matters, such as a product name that must not replace the same letters in another case. Preview a match after setting each option.

For a phrase, include surrounding punctuation or words when that makes the target unambiguous. Do not assume that whole-word matching will fix an overly broad search for names, abbreviations, or common words. The document’s meaning still needs a human check.

Replace one at a time or use wildcards

Replace changes the current match and lets you review the next. It is slower but useful when some occurrences should remain. Replace All changes the matches in one operation; reserve it for a pattern you have tested. Word also supports advanced wildcard searches, but the syntax differs from ordinary text search. Keep Use wildcards off for a simple literal replacement unless you deliberately built and tested a pattern.

To remove a repeated phrase entirely, leave Replace with blank. Inspect the spaces and punctuation left around each deletion; removing a word can create double spaces or awkward sentences.

Test ambiguous names and dates first

A short term can have more than one meaning. Replacing the month “May” with “June” without Match case could also catch the verb “may” in a sentence. A person’s surname may appear in a citation, a heading, and a hyperlink label, each of which needs a different editorial check. Search the document first, inspect several contexts, then narrow the phrase or choose one-at-a-time replacement when the contexts differ.

After a large change, read the revised sentences rather than relying on the replacement count alone. The count tells you how many matches Word changed; it cannot tell you whether the new wording is grammatically correct in every location.

Review the outcome

  • Too many changes: Undo immediately with Ctrl+Z on Windows or Command+Z on Mac. If the file was closed after saving, return to the original copy or an available version history.
  • Too few changes: Check spelling, punctuation, case options, and whether the document uses slightly different forms of the phrase.
  • Formatting looks different: Inspect a few replacements in headings, tables, and body text. A global text replacement does not decide whether every revised sentence still reads well.
  • Someone else is editing the file: Coordinate the change in a shared document so concurrent edits are not overwritten or misread.

Word for the web supports basic find and replace, including case and whole-word filters. For more advanced options, open the document in desktop Word. Microsoft explains Find and Replace and its filters. If you only need to locate text, see our guide to searching for words in Word.

Advertisements