Open Find and Replace with a keyboard shortcut
The fastest way to open Find and Replace in Word is to press Ctrl+H on your keyboard. This opens a dialog box where you can type the text you want to find and the text you want to replace it with. The dialog stays open until you close it, so you can run multiple searches without reopening it each time.
If you prefer using the menu, go to the Home tab at the top of Word, then click Replace in the Editing group on the right side of the ribbon. This opens the same dialog box as the keyboard shortcut.
Key Takeaways
- Press Ctrl+H to open Find and Replace, or use Home > Replace from the menu.
- Type the text you want to find in the "Find what" field and the replacement text in the "Replace with" field.
- Click "Replace All" to change every instance at once, or "Replace" to change them one at a time.
- Use "Find All" to see how many times a word or phrase appears in your document before you replace anything.
- The "More Options" button reveals advanced settings like matching case, whole words only, and searching by formatting.
Type what you want to find and what to replace it with
Once the Find and Replace dialog is open, click in the "Find what" field and type the text you want to search for. This can be a single word, a phrase, or even a partial word. Word will find every instance of exactly what you type, including uppercase and lowercase letters.
Next, click in the "Replace with" field and type what you want to replace it with. If you want to delete something instead of replacing it, leave this field empty and click Replace or Replace All. Word will remove the found text without putting anything in its place.
Replace one instance at a time or all at once
After you enter your search and replacement text, you have two main choices. Click "Replace" to change just the first instance Word finds. Word will highlight that instance and wait for you to decide whether to replace it or skip it. Click "Replace" again to change it, or click "Find Next" to move to the next match without changing the current one.
Click "Replace All" to change every instance of your search text in the entire document at once. Word will tell you how many replacements it made. This is much faster when you know you want to replace all occurrences, but use it carefully — if you make a mistake, you can undo it by pressing Ctrl+Z immediately.
Use Find All to count instances before replacing
Before you replace anything, you can click "Find All" to see how many times your search text appears in the document. Word highlights every match and shows you the count at the bottom of the dialog. This is useful when you want to know the scope of what you are about to change.
Finding all instances also lets you review them in context. Word displays each match in the document, so you can scroll through and make sure you are searching for the right thing. This catches mistakes like searching for "the" when you meant "there" — you will see immediately if your search is too broad.
Match case and whole words to narrow your search
By default, Word finds text regardless of whether it is uppercase or lowercase. If you want to find only "Word" with a capital W and not "word" in lowercase, click the "Match case" checkbox before searching. This is useful when you are replacing a proper name or a term that should only appear in a specific form.
The "Match entire word only" checkbox prevents Word from finding your search text inside other words. For example, if you search for "cat" without this option, Word will find "cat", "cats", "category", and "concatenate". With "Match entire word only" checked, it finds only "cat" as a standalone word. This prevents accidental replacements in the middle of longer words.
Search by formatting when text alone is not enough
Click "More Options" at the bottom of the Find and Replace dialog to reveal additional settings. One powerful feature is the ability to search by formatting. You can find text that is bold, italic, underlined, or in a specific font, and replace it with text in different formatting.
To search by formatting, type your search text in the "Find what" field, then click the dropdown next to "Format" and choose the formatting you want to find — for example, Bold or a specific font name. Word will then find only instances of that text in that format. You can also set different formatting for the replacement text, so you can change both the words and how they look in one operation.
Undo a replace if you made a mistake
If you click "Replace All" and realize you made a mistake, press Ctrl+Z immediately to undo the entire operation. Word will restore your document to the state it was in before the replacement. This works even if you replaced hundreds of instances — one undo reverses all of them.
If you have already closed the Find and Replace dialog and done other work in the document, you can still undo by pressing Ctrl+Z repeatedly to step backward through your recent actions. However, the further back you go, the more other changes you might undo, so it is better to catch mistakes right away.
Frequently Asked Questions
Can I search for line breaks or paragraph marks?
Yes. Click "More Options" to expand the dialog, then look for the "Special" button. Click it to see options like paragraph marks (^p), line breaks (^l), and tabs (^t). You can type these codes into the "Find what" or "Replace with" fields to find or insert them. For example, searching for ^p^p finds double paragraph breaks (blank lines).
What if I only want to replace text in part of my document?
Select the text or section you want to search before opening Find and Replace. Word will search only within your selection. If you do not select anything, it searches the entire document. After you close Find and Replace, your selection remains highlighted so you can see what was changed.
Can I search for text that spans multiple lines?
You can type text across multiple lines in the "Find what" field by pressing Enter where you want the line break. However, this only works if you are searching for an actual line break in your document. For more complex multi-line searches, use the "Special" codes like ^p for paragraph marks.
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 be editing them first — double-click the header or footer area to enter edit mode, then open Find and Replace. Text boxes and shapes are not searched unless you click inside them first.
What happens if I search for something that does not exist in the document?
Word displays a message saying "Search key not found" and highlights the Find and Replace dialog. This means the text you typed does not appear anywhere in the document. Check your spelling and try again, or use "Find All" to see if a similar word exists that you can search for instead.