How to Find and Replace in Word

To find and replace text in Microsoft Word, press Ctrl + H (or go to Home > Editing > Replace), type the old text in Find what, type the new text in Replace with, and click Replace All. To check each change first, click Find Next and then Replace one match at a time. If you want to change formatting rather than words, Select All Text with Similar Formatting is another option covered in how to select all in Microsoft Word.

These steps are for Word for Microsoft 365, Word 2024, 2021, 2019, and 2016 on Windows, following Microsoft’s Find and replace text help page. Word for Mac, Word for the web, and the Word phone apps use the same idea with different menus, covered further down. If you are on Word 2013, see how to replace all occurrences of a word in Word 2013.

Find and Replace Text in Word for Windows

  1. Open your document and click anywhere in the text.
  2. Press Ctrl + H, or click the Home tab and choose Replace in the Editing group at the right end of the ribbon. The Find and Replace window opens on the Replace tab.
Replace button in the Editing group of Word's Home tab
Choose Replace on the Home tab, or press Ctrl + H.
  1. In Find what, type the word or phrase you want to change. For example, type North Office.
  2. In Replace with, type the new wording, such as North Branch. Leave this box empty if you want to delete the matches instead.
  3. Click Find Next. Word scrolls to the first match and highlights it.
  4. Click Replace to change that match and jump to the next one, or click Find Next again to skip it.
  5. When you’re sure every remaining match should change, click Replace All. Word shows a message such as “All done. We made 12 replacements.”
Word Find and Replace dialog with Find what and Replace with boxes filled in
Enter the old and new text, then use Find Next or Replace All.
  1. Click OK, then Close.

If you only need to locate a word without changing it, press Ctrl + F instead, as covered in the steps to search for a word in Microsoft Word. Ctrl + F opens the Navigation pane, which lists every match so you can click through them. If the ribbon is hidden and you can’t see the Home tab, restore the missing toolbar or ribbon first.

Replace One at a Time or All at Once?

Replace All is fast, but it changes every match, including ones you didn’t expect. Searching for “cat” with Replace All also changes “category” and “concatenate.” Use Find Next and Replace when the word appears in quotes, names, or headings that should stay the same. Use Replace All when the change really is universal, such as fixing a misspelled product name or updating a client’s new company name.

To limit the change to one part of the document, select that text before you press Ctrl + H. Word replaces matches inside the selection, then asks whether to search the rest of the document. Click No to stop there.

After a large Replace All, press F7 to catch any new typos. If nothing gets underlined, turn on spell check in Word first.

Use the More Options to Narrow the Search

Click More >> in the Find and Replace window to show extra search settings. Microsoft lists these:

  • Search lets you search All, Down, or Up from the cursor.
  • Match case finds only text with the same capitalization. “Word” won’t match “word.”
  • Find whole words only skips partial matches, so “cat” won’t match “category.” This is the quickest fix for the Replace All problem above.
  • Use wildcards turns on pattern matching (covered below).
  • Sounds like (English) finds words that sound alike, such as “there,” “their,” and “they’re.”
  • Find all word forms (English) catches related verb forms, such as replacing “sit” and “sat” with “stand” and “stood.”
  • Match prefix and Match suffix find words that start or end with your text. “Match prefix” with “pre” finds “preview” but not “spread.”
  • Ignore punctuation characters and Ignore white-space characters match text even when hyphens or spaces differ, such as “e-mail” and “email.”
Expanded Find and Replace dialog showing Match case, Find whole words only and Use wildcards
Click More to show Match case, whole-word, and wildcard options.

Click << Less to hide the options again. Word remembers these settings during your session, so turn off any you no longer need before your next search.

Replace Formatting, Line Breaks, and Other Special Characters

The Format and Special buttons at the bottom of the expanded window handle things you can’t type in a box. The same Special menu can clear every section break in a file, and this section break walkthrough explains what that does to your layout.

Replace Formatting

  1. Click in Find what, then click Format > Font and choose the formatting to find, such as Bold. Click OK.
  2. Click in Replace with, then click Format > Font and choose the new formatting, such as Not Bold with a red font color. Click OK.
Expanded Windows Word Find and Replace dialog with Find what Font Bold, Replace with Font Italic and the closed Format button highlighted
Check the Format line below each box to confirm which formatting Word will find and apply. Adding italic can retain bold, so use Not Bold when you want to remove bold. Open Format to choose Font or other formatting. (Recreated interface)
  1. Leave both text boxes empty to change all text with that formatting, or type a word to change only that word.
  2. Click Replace All.

The Format menu also covers Paragraph (alignment and spacing), Style, and Highlight, so you can, for example, highlight every mention of a deadline. Word applies the formatting to whichever box holds the cursor, so check the “Format:” line that appears under each box before you click Replace All. Click No Formatting afterward so the format rules don’t affect your next search.

You can use the same Format trick to make all periods bigger in Microsoft Word.

Replace Special Characters

Click Special to insert codes for characters like tabs and paragraph marks. You can also type the codes yourself:

Expanded Windows Word Find and Replace dialog with the Special replacement-field menu open and Paragraph Mark Tab Character and Manual Line Break highlighted
Open Special to insert codes for characters such as Paragraph Mark, Tab Character or Manual Line Break. Its choices depend on which field has focus. The text boxes are empty. (Recreated interface)
To find Type
Paragraph mark (Enter) ^p
Tab ^t
Manual line break (Shift + Enter) ^l
Manual page break (Ctrl + Enter) ^m
Section break ^b
Em dash ^+
Nonbreaking space ^s
Any digit ^#
Any letter ^$
Any single character ^?
Footnote mark ^f

Common cleanups:

  • Remove empty lines: put ^p^p in Find what and ^p in Replace with, then click Replace All. Run it a few times until Word reports zero replacements.
  • Fix double spaces: type two spaces in Find what and one space in Replace with.
  • Remove manual page breaks: put ^m in Find what, leave Replace with empty, and use Find Next first so you only remove the breaks you meant to.

To delete every typed number, use ^# in Find what and leave Replace with empty, with Use wildcards turned off. Review a few matches with Find Next first, since this also removes digits in dates, prices, and addresses. Automatic list numbering and page numbers aren’t typed text, so this won’t touch them.

The ^f code works the same way for footnote marks. Before removing them, review how to add and manage footnotes in Word.

Use Wildcards for Patterns

Check Use wildcards to search with patterns. Microsoft’s search options reference lists the characters:

Wildcard Finds Example
? Any single character b?t finds “bat,” “bet,” and “but”
* Any string of characters s*d finds “sad” and “started”
[ ] One of the listed characters w[io]n finds “win” and “won”
[0-9] One character in a range 199[0-9] finds any year from 1990 to 1999
< and > The start or end of a word <(inter) finds “intercept” but not “splintered”
{n} Exactly n of the previous character fe{2}d finds “feed” but not “fed”
@ One or more of the previous character lo@t finds “lot” and “loot”

Wildcard searches are always case-sensitive, and the special codes in the earlier table work differently, so search for one pattern at a time and use Find Next before Replace All. For one practical pattern, see how to find duplicate words in Microsoft Word.

Find and Replace in Word for Mac

  1. Open the document and press Control + H (Control, not Command). You can also choose Edit > Find > Replace from the menu bar.
  2. The Find and Replace pane opens on the left. Type the old text in the search box and the new text in the Replace box.
Shared Word for Mac Find and Replace pane with garden in search, plants in the replacement box and Replace All and Replace visible
On a Mac, enter the old text in the search box and the new text in Replace With, then choose Replace or Replace All. Surrounding controls and layout vary by Word version. (Recreated interface)
  1. Click Replace to change the current match or Replace All to change them all.

For Match case, Format, Special, and wildcards on a Mac, choose Edit > Find > Advanced Find and Replace, then click the Replace tab and the arrow to show more options.

Find and Replace in Word for the Web

  1. Open the document in Word for the web and make sure you’re in Editing mode. Ctrl + H doesn’t work in Reading view.
  2. Press Ctrl + H, or on the Home tab, click the arrow next to Find and choose Replace.
  3. Enter the old and new text in the pane that opens, then click Replace or Replace All.

The web version supports Match case and Find whole words only through the options menu in the pane, but it doesn’t offer wildcards or the Format and Special buttons. Open the file in the desktop app for those.

Find and Replace in the Word Phone and Tablet Apps

Microsoft’s mobile find steps work like this:

  • iPhone and iPad: tap the magnifying glass Search icon at the top right and choose Find. Type your text, tap the Options icon to the left of the search box, and pick Find and Replace or Find and Replace All. The same menu has Match Case and Whole Words.
  • Android: tap More Options (three dots), then the Find magnifying glass. Type your text, tap the gear icon to the left of the search box, and choose Replace.

If Find and Replace Doesn’t Work

  • Word finds nothing: check for an extra space at the start or end of Find what, then clear Match case, Find whole words only, and Use wildcards under More. Also click No Formatting, since leftover format rules from an earlier search can block matches.
  • Replace All changed too much: press Ctrl + Z (Command + Z on Mac) right away. One undo reverses the whole Replace All. Then run the search again with Find whole words only or Match case turned on.
  • Text in headers or text boxes didn’t change: with Search set to All, Replace All normally checks headers, footers, and text boxes as well. If a match is still missed, double-click the header or text box and run the replacement again while you’re inside it.
  • The Replace button is grayed out: the document is read-only or protected. Click Enable Editing on the yellow bar, or save a copy you can edit.
  • Word only searched part of the document: text was selected when you opened the window. Click once in the document to clear the selection, then search again.

If you replaced text and saved the file before noticing a mistake, you may be able to restore a previous version of the Word document.

Word Replace Questions

What is the shortcut for Find and Replace in Word?

Ctrl + H on Windows and in Word for the web, and Control + H on a Mac. Ctrl + F (Command + F on Mac) opens Find only.

In Word for Windows, Ctrl + F puts the cursor in the search box of the Word Navigation pane.

Does Replace All keep the capitalization of each match?

Word inserts the text exactly as you typed it in Replace with. If some matches start a sentence and need a capital letter, check Match case and run separate replacements for the capitalized and lowercase versions.

Can I undo Replace All?

Yes. Press Ctrl + Z (Command + Z on Mac) immediately after. All replacements from that one click are undone together.

Is Find and Replace the same as AutoCorrect?

No. Find and Replace changes text that is already in the document. AutoCorrect only fixes words as you type them, so it never touches text you wrote earlier.

Can I find and replace across several Word documents at once?

Not with the built-in tool. Find and Replace works on the open document only, so open each file and repeat the replacement.