Open Find and Replace with a keyboard shortcut or menu
The fastest way to open Find and Replace in Word is to press Ctrl+H on Windows or Command+H on Mac. This opens a dialog box where you can type the text you want to find and what you want to replace it with.
If you prefer using the menu, click the Home tab at the top of Word, then look for the Editing group on the right side of the ribbon. Click the dropdown arrow next to Find and select Replace. This opens the same dialog box.
You can also use Ctrl+F (or Command+F on Mac) to open just the Find pane if you only need to search for text without replacing it. The Replace option appears if you click the arrow to expand the pane.
Key Takeaways
- Press Ctrl+H (Windows) or Command+H (Mac) to open Find and Replace when ready.
- Type the text you want to find in the first field and the replacement text in the second field.
- Use "Replace All" to change every instance at once, or "Replace" to change one at a time and review each match.
- The "More Options" button reveals advanced settings like matching case, whole words only, and searching in specific directions.
- Word highlights each match in your document so you can see exactly what will be replaced before you confirm.
Type what you want to find and what to replace it with
In the Find and Replace dialog, the first field is labeled Find what:. Type the exact text you want to search for. This can be a single word, a phrase, or even a partial word.
The second field is labeled Replace with:. Type what you want that text to become. If you want to delete the text entirely, leave this field blank and click Replace or Replace All.
For example, if you typed "colour" throughout a document but want to change it to "color", you would type "colour" in the Find field and "color" in the Replace field. Word will then find every instance of "colour" and show you each one before replacing it.
Choose between replacing one instance or all at once
After you type your search and replacement text, Word shows you the first match highlighted in your document. You now have two choices: replace just this one instance, or replace every instance in the entire document.
Click Replace to change only the highlighted match and move to the next one. This is useful when you want to review each change before it happens—for example, if you are replacing a common word and want to make sure the context is right each time.
Click Replace All to change every match in the document at once without reviewing each one. Word will tell you how many replacements it made. Use this when you are confident the replacement is correct everywhere, such as fixing a company name spelled wrong throughout a long document.
Use More Options for precise searching
The Find and Replace dialog has a More Options button (or Options on Mac) that reveals additional settings to make your search more precise. Click it to expand the dialog and see these choices.
Match case makes the search case-sensitive. If you check this box, searching for "Word" will find only "Word" with a capital W, not "word" in lowercase. This is useful when you need to replace a proper noun but leave the same word in lowercase alone.
Find whole words only searches for the text as a complete word, not as part of a larger word. For example, if you search for "cat" without this option checked, Word will find "cat", "cats", "category", and "concatenate". With this option checked, it finds only "cat" as a standalone word.
Search lets you choose the direction: All (the entire document), Down (from your cursor to the end), or Up (from your cursor to the beginning). Most of the time you will leave this set to All.
Understand what happens when Word finds no matches
If you type text in the Find field that does not exist anywhere in your document, Word will display a message saying "Search key not found" or similar wording. This means the exact text you typed is not in the document.
If this happens, check your spelling and spacing. A common mistake is typing an extra space before or after your search term. You can also try unchecking Match case if you are searching for a word but unsure of its capitalization, or uncheck Find whole words only if the word might be part of a longer word you did not realize.
Close Find and Replace when you are done
After you finish replacing text, close the Find and Replace dialog by clicking the X button in the top right corner of the dialog, or press Escape on your keyboard. Your document remains open with all replacements completed.
If you realize you made a mistake, you can undo the replacements by pressing Ctrl+Z (Windows) or Command+Z (Mac) when ready after closing the dialog. This reverses the last action, including a Replace All operation, so you can try again with different settings.
Common situations where Find and Replace saves time
Find and Replace is most useful when you need to change the same text in many places. If you wrote a report and referred to "the client" fifty times but now need to use the actual company name instead, Find and Replace does this in seconds instead of scrolling through and editing manually.
It also helps fix formatting mistakes. For example, if you have extra spaces between words throughout a document, you can search for two spaces and replace them with one space. Or if you typed a hyphen where you meant an en-dash, you can find and replace all instances at once.
Another common use is standardizing terminology. If a document uses both "email" and "e-mail", you can make them consistent by replacing one version with the other throughout.
Frequently Asked Questions
Can I undo a Replace All if I made a mistake?
Yes. Press Ctrl+Z (Windows) or Command+Z (Mac) when ready after closing the Find and Replace dialog. This reverses the entire Replace All operation and restores your text to how it was before. If you have made other changes since then, you may need to press Ctrl+Z multiple times to get back to the moment before the replacement.
What if I want to replace text that includes special characters or line breaks?
Word allows you to search for special characters by using codes. Click More Options, then look for a button labeled Special (on Windows) or Format (on Mac). This shows you codes for line breaks, paragraph marks, tabs, and other invisible characters. Type the code in your Find field to search for that character.
Can I search for text with different formatting and replace it with different formatting?
Yes, but it requires the Format button in the expanded Find and Replace dialog. Click More Options first, then click Format to specify font, size, color, bold, italic, or other formatting for both the text you are finding and the text you are replacing with. This is useful for standardizing how certain words appear throughout a document.
Does Find and Replace work in headers, footers, and text boxes?
Find and Replace searches the main body of your document by default. To search headers and footers, you must click inside the header or footer first to place your cursor there, then open Find and Replace. For text boxes, click inside the text box before opening Find and Replace. Word will then search only within that text box.