The Find and Replace tool lets you swap one word or phrase for another throughout your entire document at once
Microsoft Word's Find and Replace feature saves you from manually hunting through a document to change the same word or phrase over and over. Instead of scrolling through page by page, you can tell Word to find every instance of "colour" and change it to "color" in seconds — or find every mention of an old company name and replace it with the new one.
The tool works the same way whether you are replacing a single word, a full phrase, or even formatting. You tell Word what to find, what to replace it with, and whether you want to change one instance at a time or all of them at once.
Key Takeaways
- Open Find and Replace by pressing Ctrl+H on Windows or Command+H on Mac, or by going to the Home tab and clicking Replace.
- Type the word or phrase you want to find in the "Find what" box and the replacement text in the "Replace with" box.
- Use "Replace All" to change every instance at once, or "Replace" to change them one at a time so you can review each match.
- The tool can search for exact matches only, whole words only, or text that matches a pattern if you turn on advanced options.
- You can undo a Replace All action when ready after it happens, but waiting longer makes it harder to reverse.
How to open Find and Replace
The fastest way is the keyboard shortcut: press Ctrl+H on Windows or Command+H on Mac. A dialog box will open with two text fields — one for what you are looking for and one for what you want to put in its place.
If you prefer using the menu, go to the Home tab at the top of the screen. On the far right, you will see a button that says Replace (it has a small arrow next to it). Click it and select Replace from the dropdown menu. This opens the same dialog box.
Entering your search and replacement text
Type the word or phrase you want to find in the box labeled "Find what". Be exact — if you type "colour" it will not find "Colour" with a capital C unless you tell it to ignore case (see the advanced options section below).
In the box labeled "Replace with", type what you want to put in its place. If you leave this box empty and click Replace All, Word will delete every instance of the search term instead of replacing it with something else. This is useful if you want to remove a word entirely, but be careful — you can undo it right away, but waiting makes it harder to reverse.
Once both boxes are filled in, you have two main choices: click "Replace All" to change every instance in the document at once, or click "Replace" to change one instance at a time. Replace one at a time is safer if you are not sure whether every match should be changed.
Replacing one instance at a time versus all at once
When you click "Replace" (not Replace All), Word highlights the first match and waits for you to decide. You can click "Replace" to change that one instance and move to the next, or click "Find Next" to skip it without changing anything. This approach takes longer but lets you review each match before it changes.
When you click "Replace All", Word changes every match in the document without stopping. It then tells you how many replacements it made. This is much faster, but if you made a mistake — for example, you meant to replace "bank" with "financial institution" but forgot that "bank" also appears in "riverbank" — you will have changed things you did not intend to. You can undo this when ready by pressing Ctrl+Z, but if you close the document or make other edits first, undoing becomes harder.
Using advanced options to narrow your search
Click the "More >>" button (or "Options" on some versions) to see additional search settings. The most useful ones are:
- Match case: Finds only exact matches of uppercase and lowercase letters. Turn this on if you want to find "The" but not "the".
- Find whole words only: Finds the word only when it stands alone, not as part of another word. Turn this on to find "bank" but not the "bank" in "riverbank".
- Use wildcards: Lets you search for patterns instead of exact text. For example, you can search for any number, any letter, or any character in a specific position. This is more advanced and requires learning the wildcard codes.
For most everyday replacements, you will not need these options. But if you are replacing a common word that appears in different contexts, "Find whole words only" can prevent mistakes.
What Find and Replace cannot do
The tool works with text and basic formatting, but it has limits. You cannot search for text based on its font size, color, or style unless you use the advanced formatting options (which are complex and rarely needed for straightforward tasks). You also cannot search across multiple documents at once — you have to open each document and run Find and Replace separately.
If you are working with a very large document and Replace All seems to hang or freeze, try closing other programs to free up memory, or break the document into smaller sections and replace in each one separately.
Undoing a Replace All if you made a mistake
If you click Replace All and when ready realize you made a mistake, press Ctrl+Z right away. This undoes the entire replacement and restores your document to how it was before. The sooner you undo, the better — if you make other edits or close the document, Word may not be able to undo the replacement.
If you cannot undo because too much time has passed or you made other changes, your only option is to manually fix the replacements or close the document without saving and reopen the last saved version. This is why using "Replace" one at a time is safer when you are unsure about a change.
Frequently Asked Questions
Can I search for line breaks or paragraph marks?
Yes, but you need to use special codes. In the Find and Replace dialog, click "More >>" or "Options", then look for a button labeled "Special" or "Format". This shows you codes like ^p for a paragraph break or ^l for a line break. Type these codes in the Find or Replace boxes to search for or replace them.
What if I want to replace text only in a specific part of my document?
Select the text or section you want to search before opening Find and Replace. Word will then search only within your selection. If you do not select anything, it searches the entire document.
Can I replace text with a different font or color?
Yes, but it requires the advanced formatting options in Find and Replace, which are not straightforward. For most users, it is faster to find the text, then manually format it or use Word's Format Painter tool to copy formatting from one place to another.
Does Find and Replace work in tables?
Yes, it searches inside tables the same way it searches regular text. If you want to search only within a specific table, select that table before opening Find and Replace.
What happens if I search for something that does not exist in the document?
Word will tell you "Search key not found" or display a message saying no matches were found. This straightforward means the exact text you typed does not appear in the document — check your spelling or try a shorter phrase.