Use Find & Replace to change one word or thousands at once
Microsoft Word's Find & Replace tool lets you search for a word or phrase and swap it for something else throughout your document in seconds. You open it with Ctrl+H (Windows) or Command+Option+F (Mac), type what you want to find and what you want instead, then choose whether to replace one instance or all of them at once. This is much faster than scrolling through a document manually, especially in long files where the same word appears dozens of times.
The tool works on exact text matches by default — if you search for "color" it will not find "colors" or "colored" unless you tell it to. You can also search for patterns using wildcards or regular expressions, though that requires turning on an option and learning the pattern syntax. For most everyday work, the basic search is all you need.
Key Takeaways
- Open Find & Replace with Ctrl+H on Windows or Command+Option+F on Mac, then type the word to find and the replacement word.
- Click "Replace All" to change every instance at once, or "Replace" to change them one at a time and skip some if you want.
- Turn on "Match case" if you need to preserve capital letters, or "Whole words only" to avoid changing parts of longer words.
- Word shows you how many replacements it made, so you can undo the whole operation if something went wrong.
Opening Find & Replace and entering your search terms
Press Ctrl+H on Windows or Command+Option+F on Mac. A dialog box opens with two text fields: "Find what" at the top and "Replace with" below it. Type the word or phrase you want to find in the first field. Type what you want to replace it with in the second field. If you leave the "Replace with" field empty and click Replace All, Word will delete every instance of the search term instead.
The search is not case-sensitive by default, so searching for "the" will find "The", "THE", and "the" all the same way. If you need to match the exact capitalization, click "More options" (or "Options" on Mac) to reveal additional settings, then check the box next to "Match case". Now "The" will only match "The", not "the" or "THE".
Replacing one instance or all at once
After you enter your search term and replacement, you have two choices. Click "Find Next" to locate the first instance of the word in your document. Word highlights it so you can see it in context. Then you can click "Replace" to change just that one, or "Replace All" to change every instance without stopping.
Most people use "Replace All" when they are confident the replacement is correct everywhere — for example, changing a client's name throughout a contract. Use "Replace" one at a time when you want to check each instance first, because some uses might need to stay the same. For instance, if you search for "bank" you might want to keep it in "riverbank" but change it in "bank account".
After the replacement finishes, Word tells you how many changes it made in a small message box. If you made a mistake, press Ctrl+Z when ready to undo all the replacements at once.
Avoiding accidental changes with "Whole words only"
By default, Word finds your search term anywhere it appears, even as part of a longer word. If you search for "read" it will find "read", "reading", "already", and "thread" all together. To search for only the standalone word "read", click "More options" and check "Whole words only". Now Word will skip "reading" and "already" and only highlight the word "read" by itself.
This setting is especially useful when you are working with technical terms or short words that appear inside longer ones. For example, searching for "set" without "Whole words only" will find "set", "upset", "offset", and "sunset". Turning on the option narrows it down to just "set" standing alone.
Searching for line breaks and special characters
You can search for and replace things that are not regular text, like paragraph breaks or tabs. Click "More options" to see additional buttons. Look for a button labeled "Special" (Windows) or a dropdown menu with special characters (Mac). Click it to see a list of options like "Paragraph Mark", "Tab", "Manual Line Break", and others. Select the one you want to find, and Word inserts a code into your search field.
For example, if you want to remove all extra paragraph breaks and replace them with single breaks, you could search for "^p^p" (two paragraph marks in a row) and replace with "^p" (one paragraph mark). This is useful for cleaning up documents that have inconsistent spacing. The codes vary slightly between Windows and Mac, so check the Special menu to see what your version uses.
Using Find & Replace with formatting
You can search for text that has specific formatting — like bold, italic, or a particular font color — and replace it with different formatting. Click "More options" and look for a button labeled "Format" (Windows) or a similar option (Mac). Click it and choose what formatting you want to search for, like "Font" or "Font Color". Word adds that formatting requirement to your search.
For instance, you could search for all instances of the word "important" that are in bold and replace them with the same word in red text instead. Or you could find all text in Arial font and change it to Calibri. This is slower than a straightforward word search because Word has to check both the text and its formatting, but it is useful for reformatting large sections of a document at once.
Undoing a large replacement if it went wrong
If you click "Replace All" and realize the results are not what you wanted, press Ctrl+Z when ready to undo the entire operation. Word treats the whole "Replace All" as a single action, so one undo reverses all the changes at once. This works as long as you have not made other edits since the replacement — if you have edited the document further, undo will go back through those edits first.
If you are nervous about a large replacement, use "Replace" one at a time instead to check a few instances first. Once you are confident it is working correctly, you can close the Find & Replace dialog and press Ctrl+H again to open it with your search terms still there, then click "Replace All" for the remaining instances.
Frequently Asked Questions
Can I search for a word and replace it with nothing to delete it?
Yes. Leave the "Replace with" field empty and click "Replace All". Word will remove every instance of the search term. This is useful for deleting repeated words or cleaning up extra spaces, though be careful — if you accidentally delete a word that should stay in some places, undo with Ctrl+Z right away.
What if I want to find a word only at the beginning or end of a line?
Click "More options" and check "Use regular expressions". Then use ^ to search for the beginning of a line or $ for the end. For example, ^the finds "the" only at the start of a paragraph. This requires learning regular expression syntax, so it is more advanced than the basic search.
Does Find & Replace work in headers, footers, and text boxes?
Yes, it searches the entire document including headers, footers, and text boxes. If you only want to search the main body text, you need to close the header or footer first, then open Find & Replace. Word will then search only the section you have open.
Can I search for a phrase instead of a single word?
Yes. Type the entire phrase in the "Find what" field, including spaces and punctuation. For example, you could search for "New York City" and replace it with "NYC". Word treats it as one search term and finds only that exact phrase in that exact order.
What happens if I search for something that does not exist in the document?
Word shows a message saying "Search key not found" or similar. It means the exact text you typed does not appear anywhere in the document. Check your spelling, or try searching for a shorter part of the phrase to see if it exists with different wording.