The Find and Replace feature in Word lets you swap out words or phrases throughout your document in seconds
Word's Find and Replace tool searches your entire document for a word or phrase and changes it to something else — all at once or one at a time. You might use this to fix a misspelled name that appears fifty times, change "the client" to "the customer" everywhere, or swap out outdated terminology. The tool is faster and more reliable than scrolling through and editing by hand.
You can open Find and Replace three ways: press Ctrl+H on Windows or Command+Option+F on Mac, go to the Home tab and click Replace, or use the keyboard shortcut. The dialog box that opens has two text fields — one for what you're looking for and one for what you want instead.
Key Takeaways
- Press Ctrl+H (Windows) or Command+Option+F (Mac) to open Find and Replace instantly.
- Type the word or phrase you want to find in the first field and the replacement text in the second field.
- Click "Replace All" to change every instance at once, or "Replace" to change them one by one and skip any you want to keep.
- Use "Match Case" if you need to match uppercase and lowercase exactly, and "Whole Words Only" to avoid changing parts of longer words.
- You can undo a Replace All action immediately after with Ctrl+Z if you change your mind.
Opening Find and Replace and entering your search terms
Open the Find and Replace dialog by pressing Ctrl+H on Windows or Command+Option+F on Mac. If you prefer the menu, click the Home tab at the top of Word, then look for the Replace button in the editing group on the right side of the ribbon.
In the dialog box, click in the Find what: field and type the word or phrase you want to search for. Be exact — if you type "color" it will not find "colours" unless you tell it to ignore spelling variations. Then click in the Replace with: field and type what you want to replace it with. If you want to delete the word entirely, leave this field blank and click Replace All.
Do not click anything yet. Before you replace, check the options below the text fields to make sure you are searching the way you intend.
Choosing between Replace All and Replace one at a time
Replace All changes every instance of your search term in the entire document at once. Use this when you are confident the change is correct everywhere — for example, fixing a company name or correcting a consistent misspelling. Word will tell you how many replacements it made.
Replace (the button without "All") finds the first instance, highlights it, and stops. You can then click Replace to change just that one, or click Find Next to skip it and move to the next match. This method takes longer but gives you control — you might want to keep some instances of the word as they are. For example, if you search for "bank" you might want to replace it with "financial institution" in some places but not others.
If you click Replace All by mistake, press Ctrl+Z immediately to undo it. Word will reverse the entire batch of changes.
Using Match Case to control uppercase and lowercase
By default, Find and Replace ignores whether letters are uppercase or lowercase. If you search for "word" it will find "Word", "WORD", and "word" all the same. Check the Match Case option if you need an exact match — for instance, if you want to replace "Job" (a name) but not "job" (the occupation).
Match Case is useful when you are fixing proper nouns or when uppercase and lowercase carry different meanings in your document. Without it checked, a search for "john" will change "John", "JOHN", and "john" all to your replacement text, which may not be what you want.
Using Whole Words Only to avoid partial matches
Check Whole Words Only if you want to match complete words and not parts of longer words. For example, if you search for "read" without this option, it will also change "read" inside "thread" or "already". With Whole Words Only checked, it will skip those.
This option prevents accidents. If you are replacing "cat" and you do not check Whole Words Only, you might accidentally change "concatenate" to "conreplacementate". Whole Words Only keeps that from happening.
Searching in a specific section or checking your replacements
If you want to search only part of your document, select that text before you open Find and Replace. Word will then search only the selection. This is helpful if you have a long document and you want to be careful about changes in one section.
After you click Replace All, Word shows you a message saying how many replacements were made. Read this number — if it says zero, your search term was not found anywhere. If the number is much higher than you expected, close the dialog and press Ctrl+Z to undo, then try again with different options like Match Case or Whole Words Only.
Fixing common mistakes when using Find and Replace
The most common mistake is forgetting to check Whole Words Only and accidentally changing parts of words you meant to leave alone. If this happens, press Ctrl+Z right away to undo the entire Replace All action.
Another mistake is leaving extra spaces in your search field. If you type " word " (with spaces before and after) instead of "word", it will only find instances with spaces around it and miss the word at the start or end of a line. Type your search term without leading or trailing spaces unless you specifically need to match those spaces.
If you are replacing a phrase and the replacement does not look right, check whether you have extra spaces in either field. Also verify that Match Case is not checked unless you meant it to be — an unchecked Match Case box will find your term regardless of capitalization.
Frequently Asked Questions
Can I undo a Replace All if I change my mind?
Yes. Press Ctrl+Z immediately after the replacement, and Word will reverse all the changes at once. This works as long as you have not made other edits since the Replace All. If you have made other changes, you may need to undo multiple times to get back to before the replacement.
What if I want to replace text only in headers or footers?
Find and Replace searches the entire document including headers, footers, and text boxes by default. If you want to change only the main body text, select just the body before opening Find and Replace. Word will then search only your selection.
Can I search for line breaks or paragraph marks?
Yes, but you need to use special codes. Click More Options in the Find and Replace dialog, then look for Special. You can search for paragraph marks, line breaks, and other formatting. This is advanced and most people do not need it for everyday replacements.
Why does Find and Replace say zero replacements when I know the word is in my document?
Check whether Match Case is turned on — if you search for "Word" with Match Case checked, it will not find "word" in lowercase. Also check for extra spaces in your search field. If the word is still not found, it may be spelled differently than you think, or it may be in a text box or header that you did not expect.
Can I replace text with formatting, like bold or italics?
Yes, but this requires the advanced options. Click More Options, then Format in the Replace with field. You can then choose bold, italic, or other formatting to apply to your replacement text. This is useful if you want to replace a word and make it bold at the same time.