Open Find and Replace in Word

The fastest way to open Find and Replace is to press Ctrl+H on your keyboard (or Cmd+H on Mac). A dialog box will appear with two fields: one for the text you want to find, and one for what you want to replace it with.

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.

The Find and Replace tool works the same way whether you have one page or a hundred-page document open. Word will search through everything unless you tell it otherwise.

Key Takeaways

  • Press Ctrl+H to open Find and Replace instantly, or use Home > Replace from the menu.
  • Type the text you want to find in the top field and the replacement text in the bottom field, then click Replace All to change every instance at once.
  • Use "Match case" if you need to find only lowercase or uppercase versions, and "Whole words only" to avoid replacing parts of longer words.
  • Click "Replace" to change one instance at a time, or "Replace All" to change every match in the document in seconds.
  • Word tells you how many replacements it made, so you can undo the change if something went wrong.

Type What You Want to Find and Replace

In the Find what: field, type the exact text you want to search for. This could be a single word, a phrase, or even a punctuation mark. For example, if you want to change "colour" to "color" throughout your document, type "colour" in this field.

In the Replace with: field below it, type what you want that text to become. Using the same example, you would type "color" here. Leave this field blank if you want to delete the found text instead of replacing it with something else.

Word is case-sensitive by default, meaning it will find "Colour", "colour", and "COLOUR" all as separate matches. If you want to find only one version, check the Match case box before you search.

Replace One Instance or All at Once

Once you have entered your find and replace text, you have two choices. Click Replace to change just the first match Word finds, then decide what to do with the next one. This is useful when you are not sure every instance should be replaced, or when you want to review each change.

Click Replace All to change every match in your entire document in one action. Word will tell you how many replacements it made in a message box. This is much faster when you are confident the replacement should happen everywhere — for example, changing a client name that appears fifty times.

If you make a mistake, press Ctrl+Z immediately to undo all the replacements. Word will reverse the entire Replace All action, not just the last one.

Use Match Options to Find Exactly What You Need

Below the find and replace fields, you will see checkboxes for different matching options. Match case makes Word distinguish between uppercase and lowercase letters. Check this if you want to find only "John" and not "john" or "JOHN".

Whole words only prevents Word from replacing parts of longer words. For example, if you search for "cat" without this option checked, Word will also replace "cat" inside "catalog" or "scatter". With "Whole words only" checked, it will skip those and replace only the standalone word "cat".

Most of the time you will not need the other options like "Use wildcards" or "Regular expressions" — these are for advanced searches. Stick with the basic options unless you have a very specific pattern to find.

Search in a Specific Part of Your Document

By default, Find and Replace searches your entire document from top to bottom. If you want to search only a certain section, select that text first before opening Find and Replace. Word will then search only within your selection.

To select a section, click at the start of the text you want to search, then hold Shift and click at the end. The selected text will appear highlighted in blue. Now open Find and Replace with Ctrl+H, and Word will limit the search to just that section.

This is helpful when you have a document with multiple sections and you only want to replace text in one of them — for example, replacing a name only in the introduction but not in the bibliography.

Undo a Replace All if Something Went Wrong

If you click Replace All and realize the replacement was not what you wanted, do not panic. Press Ctrl+Z immediately to undo the entire action. Word will reverse every single replacement that just happened, restoring your document to how it was before you clicked Replace All.

This undo works even if Word replaced hundreds of instances. You can undo multiple times in a row if you need to go back several steps. However, if you close the document without saving and then reopen it, the undo history is gone.

If you are unsure about a large replacement, use the Replace button instead of Replace All. This lets you review each match one at a time and decide whether to replace it. It takes longer but gives you complete control.

Common Mistakes to Avoid

The most common mistake is forgetting to check Whole words only when you should. If you search for "the" without this option, Word will also find and replace "the" inside words like "theater" or "weather". Always think about whether your search term might appear inside other words.

Another mistake is typing the wrong text in the Replace field and not noticing until after you click Replace All. Take a few seconds to double-check both fields before you proceed. The Find and Replace dialog stays open after you search, so you can fix a mistake and try again.

Do not forget that Find and Replace is case-sensitive by default. If you search for "John" and your document has "john" in lowercase, Word will not find it unless you uncheck "Match case". This catches many people off guard.

Frequently Asked Questions

Can I undo Replace All after I close the document?

No. Once you close the document, the undo history is gone. If you have already closed it, you will need to reopen the document and manually fix the replacements, or close it without saving and reopen the last saved version. Always save your work before doing a large Replace All, so you have a backup if something goes wrong.

What if I want to replace text that appears in headers or footers?

Find and Replace searches headers and footers automatically — you do not need to do anything special. If you want to search only the main document body and skip headers and footers, there is no built-in option, so you would need to manually edit those sections instead.

Can I search for line breaks or paragraph marks?

Yes, but you need to enable "Regular expressions" first. Click More in the Find and Replace dialog, then check Use regular expressions. Then use ^p to find paragraph marks or ^l to find line breaks. This is an advanced feature and most everyday replacements do not need it.

Does Find and Replace work the same way in Word Online as in the desktop version?

Word Online has a simpler Find and Replace tool. Press Ctrl+H to open it, but you will see fewer options — no "Match case" or "Whole words only". For complex replacements, use the desktop version of Word instead.

What happens if I search for text that does not exist in the document?

Word will show a message saying "Search key not found" and the Find and Replace dialog will stay open. You can then correct your search term and try again. This is helpful because it tells you immediately that the text you are looking for is not in the document.