Use Find & Replace to change every instance of a word in your document

Microsoft Word's Find & Replace feature lets you swap out one word (or phrase) for another throughout your entire document in seconds. You open it with Ctrl+H on Windows or Command+Option+F on Mac, type the word you want to find and the word you want instead, then click "Replace All". Word will change every match at once.

This is faster and more reliable than scrolling through and changing each instance by hand. It also catches words you might miss — especially if the word appears dozens of times or in places you don't expect.

Key Takeaways

  • Open Find & Replace with Ctrl+H (Windows) or Command+Option+F (Mac), type the word to find and the replacement word, then click "Replace All".
  • Use "Match case" if you only want to replace words that match the exact capitalization, and "Whole words only" to avoid changing parts of longer words.
  • Word shows you how many replacements it made, so you can undo the change if something went wrong.
  • You can replace punctuation, line breaks, and special characters using codes like ^p for paragraph breaks and ^t for tabs.

Step-by-step: replacing words in your document

Open your document in Word. Press Ctrl+H (Windows) or Command+Option+F (Mac). The Find & Replace dialog box will appear.

In the "Find what" field, type the word or phrase you want to change. In the "Replace with" field, type what you want it to become. For example, if you wrote "colour" throughout a document but need "color", you would type "colour" in the first field and "color" in the second.

Click the "Replace All" button. Word will replace every match and tell you how many replacements it made. If you made a mistake, press Ctrl+Z to undo all the changes at once.

When to use "Match case" and "Whole words only"

Match case makes Word only replace words that match the capitalization you typed. If you search for "John" with Match case on, it will not change "john" or "JOHN". This is useful when you need to be precise — for instance, if you want to replace a person's name but not the common word "john" (as in "john boat").

Whole words only prevents Word from changing a word if it is part of a longer word. Without this option, searching for "cat" would change "cat" to your replacement in "catalog", "category", and "concatenate". With it on, only the standalone word "cat" changes. Turn this on unless you specifically want to replace parts of words.

Replacing special characters and line breaks

You can replace more than just words. Word uses codes for invisible characters: ^p stands for a paragraph break, ^t stands for a tab, and ^l (lowercase L) stands for a line break. You can also search for punctuation marks directly — just type them in the Find field.

For example, if you have extra paragraph breaks between every sentence and want to remove them, you could search for "^p^p" (two paragraph breaks) and replace it with "^p" (one). This is especially useful when cleaning up text pasted from other sources, which often brings unwanted formatting with it.

What to do if Replace All changes something you did not intend

Word shows you the number of replacements it made before you close the dialog. If that number seems wrong, click "Undo" or press Ctrl+Z when ready to reverse all the changes. You can then try again with different settings — for instance, by turning on "Whole words only" or "Match case".

If you have already closed the dialog and made other changes, you can still undo the replacement. Press Ctrl+Z multiple times to step backward through your recent actions until you reach the point before the replacement happened.

Using Find & Replace with regular expressions for complex patterns

If you need to find and replace patterns rather than exact words — for example, any number, or any word that starts with a capital letter — Word supports regular expressions. Click "More options" in the Find & Replace dialog, then check the box for "Use regular expressions".

Regular expressions use symbols to describe patterns. [0-9] matches any digit, [A-Z] matches any capital letter, and .* matches any characters. This is a more advanced feature, and you may want to test it on a copy of your document first. Most everyday replacements do not need regular expressions — the basic Find & Replace handles them fine.

Frequently Asked Questions

Can I replace text in only part of my document?

Yes. Select the section of text you want to change before opening Find & Replace. Word will only search and replace within your selection. If you do not select anything, it searches the entire document.

What if I want to replace a word but keep some instances the way they are?

Use "Replace" instead of "Replace All". This opens each match one at a time so you can choose whether to replace it. Click "Replace" to change that instance or "Find Next" to skip it and move to the next match.

Can I replace text across multiple documents at once?

Not with the standard Find & Replace dialog. You would need to open each document and run Find & Replace separately. Some third-party tools claim to do batch replacements across files, but Word itself does not have this built in.

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

Word Online has a Find & Replace feature, but it is simpler than the desktop version. It does not support regular expressions or some advanced options. For complex replacements, use the desktop version of Word if you have it.