The fastest way to replace text in Word

Open the document you want to edit, then press Ctrl+H on Windows or Command+H on Mac. This opens the Find & Replace dialog box. Type the word or phrase you want to find in the "Find what" field, type what you want to replace it with in the "Replace with" field, then click "Replace All" to change every instance at once.

If you want to check each replacement before it happens, click "Replace" instead of "Replace All". Word will highlight the first match, and you can choose to replace it or skip to the next one. This takes longer but gives you control over which instances actually change.

When you are done, close the Find & Replace dialog by pressing Escape or clicking the X button. Your changes are made in the document immediately, though you can undo them with Ctrl+Z if you change your mind.

Key Takeaways

  • Press Ctrl+H (Windows) or Command+H (Mac) to open Find & Replace in any Word document.
  • Type the text you want to find and the text you want to replace it with, then click "Replace All" to change every instance at once.
  • Click "Replace" instead to review each match one at a time before Word makes the change.
  • Word can search for exact matches, partial words, or patterns using special characters and wildcards if you enable those options.

Finding exact matches only

By default, Word finds your search term anywhere it appears, even as part of a longer word. If you search for "cat", it will find "cat", "catalog", and "category". To find only the exact word you typed, click "More Options" in the Find & Replace dialog, then check the box labeled "Match entire cell contents" or "Whole words only" depending on your Word version.

You can also make the search case-sensitive, so "Word" and "word" are treated as different. Check the "Match case" box to turn this on. This is useful when you need to preserve capitalization — for example, replacing "john" with "John" without accidentally changing "JOHN" or "John's".

Using wildcards and special characters

Word can search for patterns, not just exact text. To use this feature, click "More Options", then check "Use wildcards". Now you can search for things like "^p" (paragraph breaks), "^t" (tabs), or "." (any single character). A search for "th.s" would find "this", "thus", and "that".

This is most useful when you need to find and replace formatting or invisible characters. For example, you might search for "^p^p" (two paragraph breaks in a row) and replace with "^p" (one paragraph break) to remove extra blank lines throughout your document. The Find & Replace dialog shows a list of available codes under "Special" when wildcards are enabled.

Replacing formatting, not just text

You can replace text and change its formatting at the same time. In the Find & Replace dialog, type the text you want to find, then click in the "Replace with" field. Now click "Format" (or "No Format" if it shows that), and choose the formatting you want the replacement text to have — font, size, color, bold, italic, or any other style.

You can also search for text that already has specific formatting and replace it with different formatting. For example, you might find all instances of "Important" that are bold and red, then replace them with "Important" in bold and blue. This saves time when you need to change how certain words look throughout a long document.

Replacing across multiple documents

To replace text in more than one document at once, open the Find & Replace dialog and look for an option like "Find All" or a dropdown that says "Current Document". Some versions of Word let you change this to search in a folder instead. Select the folder containing your documents, then run Replace All as usual.

If your version does not have this option, you can open multiple documents, use Find & Replace in each one separately, or copy all the text from multiple files into a single document, make the replacements, then split it back apart. This is slower but works in any version of Word.

What to do if Replace All changes the wrong things

If you click "Replace All" and the results are not what you expected, press Ctrl+Z immediately to undo. Word will reverse all the replacements at once. Then open Find & Replace again, use "Match entire cell contents" or "Whole words only" to be more specific, and try again with "Replace" instead of "Replace All" so you can check each one.

Common mistakes include replacing part of a word when you meant to replace the whole word, or replacing text that appears in headers, footers, or comments when you only wanted to change the main document. Checking "Match entire cell contents" and reviewing with "Replace" instead of "Replace All" prevents most of these problems.

Frequently Asked Questions

Can I undo Replace All if I already closed the document?

If you saved the document after using Replace All, you cannot undo the changes. Open the document, press Ctrl+Z to undo, and the replacements will reverse — but only if you have not made other edits since. If you have, your only option is to use an older version of the file if you have one saved.

How do I replace text in headers and footers?

Find & Replace searches headers and footers by default. If you want to search only the main document text, click "More Options" and look for a setting like "Search" or "Find in". Some versions let you choose "Main document only" to skip headers and footers.

Can I search for line breaks or paragraph marks?

Yes. Enable "Use wildcards" in More Options, then search for "^p" to find paragraph breaks or "^l" for line breaks. You can replace them with text, other formatting characters, or nothing at all to remove them.

What if the word I am looking for appears in different forms?

Word does not have a built-in way to search for word variations like "run", "runs", and "running" in one search. You will need to do separate Find & Replace operations for each form, or use wildcards if the variations follow a pattern — for example, "runn?" would find "run" and "runs".

Does Find & Replace work the same way in Word Online?

Word Online has a simpler Find & Replace tool. Press Ctrl+H to open it, but it does not support wildcards, formatting changes, or special characters. For those features, use the desktop version of Word instead.