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+Option+F on Mac. A dialog box will appear with two text fields: one for what you want to find, and one for 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 to open Find and Replace instantly, or use Home > Find > Replace from the menu.
  • Type what you want to find in the first field and what you want to replace it with in the second field.
  • Click Replace to change one instance at a time, or Replace All to change every match in the document at once.
  • Use Match Case to distinguish between uppercase and lowercase letters, and use Find Whole Words Only to avoid replacing parts of longer words.

Type your search term and replacement text

In the Find what: field, type the exact text you want to search for. This could be a single word, a phrase, or even punctuation. For example, if you want to find every instance of "email" in your document, type that word in the Find field.

In the Replace with: field, type what you want to replace it with. If you're changing "email" to "e-mail", type "e-mail" in the Replace field. If you want to delete text entirely, leave the Replace field empty and click Replace or Replace All.

Word will highlight the first match in your document. You can now decide whether to replace just that one instance or all instances at once.

Replace one instance or all at once

After you enter your search and replacement text, you have two main options. Replace changes only the currently highlighted match. Replace All changes every match in the entire document without asking you to confirm each one.

Use Replace when you want to check each match before changing it. This is useful if your search term might appear in different contexts where you only want to replace it sometimes. For example, if you search for "bank" and want to replace it with "financial institution," you might want to check whether each instance refers to a river bank or a money bank.

Use Replace All when you are confident the replacement should happen everywhere. This saves time in documents with many matches. Word will tell you how many replacements it made when it finishes.

Use Match Case to find exact capitalization

By default, Word ignores whether letters are uppercase or lowercase. If you search for "word," it will find "word," "Word," and "WORD." Sometimes this is what you want, but sometimes it is not.

Click the Match Case checkbox to search only for text with the exact capitalization you typed. If you search for "Word" with Match Case turned on, Word will find only "Word" with a capital W, not "word" or "WORD".

This is useful when you need to preserve capitalization rules. For example, if you want to replace a company name that should always be capitalized, turning on Match Case ensures you do not accidentally change instances where the name appears in the middle of a sentence.

Use Find Whole Words Only to avoid partial matches

Without this option, searching for "read" will also find and highlight "read" inside words like "thread" or "already." If you only want to find the word "read" by itself, check the Find Whole Words Only box.

This option is especially useful for short words that commonly appear inside longer words. Searching for "the" without this option will find "the" in "weather," "theater," and "other." With Find Whole Words Only enabled, Word will skip those and find only "the" as a standalone word.

Search in different directions and use other options

Word normally searches forward through your document from wherever your cursor is positioned. If you want to search backward instead, click the dropdown next to Search and select Up. You can also select All to search the entire document at once.

Click More Options or Format to access additional search tools. You can search for text with specific formatting (like bold or italic), search for paragraph marks or tabs, or use wildcards and regular expressions for more complex searches. These advanced options are less common but useful for detailed document editing.

Close the Find and Replace dialog when you are done

Once you finish replacing text, click the X button in the top right corner of the Find and Replace dialog to close it. You can also press Escape on your keyboard.

Word will keep your search and replacement text in the dialog if you open it again, so you do not have to retype them if you need to search for the same thing later in the same document or a different one.

Frequently Asked Questions

Can I undo a Replace All if I made a mistake?

Yes. Press Ctrl+Z (or Command+Z on Mac) immediately after Replace All to undo all the changes at once. If you have made other edits since then, you may need to press Ctrl+Z multiple times to get back to before the replacement.

How do I search for special characters like tabs or line breaks?

Click More Options to expand the dialog. In the Find field, you can type special codes: ^t for a tab, ^p for a paragraph break, and ^n for a line break. Type these codes in the Find or Replace field just like regular text.

What if I want to replace text only in part of my document?

Select the section of text 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 search for text with specific formatting, like bold or italic?

Yes. Click Format in the Find and Replace dialog, then choose the formatting you want to search for (bold, italic, font, size, color, and others). You can apply formatting to the replacement text the same way, so you can find plain text and replace it with bold text, for example.