Find and Replace in Microsoft Word: Commands and Shortcuts

How-to basics · Updated November 3, 2026

Find and Replace in Microsoft Word: Commands and Shortcuts

In Microsoft Word for Windows, press Ctrl+H to open Find and Replace; enter the text to search for, type its replacement, then choose Replace or Replace All. On a Mac, press Command+Shift+H, or use the Replace command on the Home tab.

The Word find-and-replace commands

Find and Replace searches a document for text you specify and lets you substitute other text. Use Replace to review and change matches one at a time. Use Replace All to change every match in the search scope at once. In Word for Microsoft 365 on Windows, you can open the tool with Ctrl+H or select Home > Replace in the Editing group.

For a search without changing anything, press Ctrl+F on Windows. That opens the Navigation pane, where you can enter a word or phrase and move between results. Finding text and replacing text are related but different actions: a search alone does not edit the document, while Replace and Replace All do.

On a Mac, Command+F is the usual find shortcut, and Command+Shift+H opens Find and Replace in Word. You can also use the Home tab’s Replace control. Ribbon labels and arrangement can vary somewhat by Word version, window size, or platform, so the tab command is a useful alternative when a keyboard shortcut does not behave as expected.

How to replace text step by step

For a controlled replacement in a document, follow these steps:

  1. Open the document and save it if you want a recoverable starting point.
  2. Press Ctrl+H on Windows, or use the Mac shortcut or ribbon command.
  3. Enter the existing text in the Find what field and the new text in Replace with.
  4. Choose Find Next or Replace to inspect matches individually, if those controls are shown.
  5. Choose Replace All only when you are confident every match should change.
  6. Review the result in the document, then save it.

For example, if a report consistently uses the old project name Northstar and the approved new name is Aurora, enter Northstar as the search text and Aurora as the replacement. Before replacing all instances, check whether Northstar also appears in a quotation, a historical note, or a web address where changing it would be wrong. A review of the first few matches can reveal those exceptions.

Word generally reports how many replacements it made after Replace All. Read the message rather than assuming the whole document changed: the result depends on the search options and the scope Word searched. If the count is zero, check spelling, spaces, punctuation, and options such as Match case or Find whole words only.

Choosing Replace or Replace All

Replace is the safer choice when the text may have different meanings in different places. It changes the current match and lets you proceed to the next one, skip it, or stop. This takes longer, but it is useful for editing names, technical terms, dates, and phrases that may occur inside longer words or quoted material.

Replace All is efficient for uniform corrections, such as changing a misspelled product name throughout a draft or replacing a repeated double space with a single space. It is not a guarantee that every change is appropriate. A short search term can occur inside unrelated words: replacing cat could alter catalog, for instance. Use whole-word matching when the intended target is the standalone word, and review the document afterward.

When a replacement has gone wrong, press Ctrl+Z on Windows or Command+Z on Mac to undo it. Undo is useful for a recent document-wide operation, but it should not replace careful checking. If you have made several changes since the replacement, undo may reverse more than the single action you intended. Saving a copy before a broad edit is a sensible precaution for important documents.

Search options for more precise results

The basic search treats the text you enter as a literal sequence. Find and Replace also offers options that narrow or expand matching. In the Windows dialog, choose More if necessary to show additional settings. Names and layout differ across desktop and web versions, but common controls include:

  • Match case distinguishes uppercase and lowercase letters. A search for Word can then differ from a search for word.
  • Find whole words only avoids matching a search term when it appears as part of a longer word. Searching for art, for example, need not match article.
  • Use wildcards enables Word’s wildcard search patterns. This is a specialized mode, not the same as ordinary typing or a full regular-expression search.
  • Sounds like and Find all word forms, when available, can broaden matching beyond an exact spelling. Check results carefully if you use them.

Options can remain active for later searches, so if a familiar search suddenly finds nothing, inspect the settings before changing the text. A whole-word or case-sensitive restriction is often the reason. Turning off unneeded options returns the search to a less restrictive match.

Searching for paragraph marks, tabs, and formatting

Find and Replace can handle some document structure as well as ordinary words. In Word’s non-wildcard search mode, special codes can locate items such as paragraph marks, tab characters, and manual line breaks. For example, ^p represents a paragraph mark and ^t represents a tab. The code ^l represents a manual line break. These are useful when cleaning imported text, but replacing paragraph marks can join or split sections in ways that affect layout.

Be careful not to confuse a paragraph mark with a manual line break. Pressing Enter creates a new paragraph; a manual line break, often inserted with Shift+Enter, moves text to a new line without starting a new paragraph. If a pasted document has awkward breaks, inspect a small section first and use formatting marks if needed. The Show/Hide control on the Home tab displays paragraph marks and other nonprinting characters, helping explain why lines wrap or spaces appear unusual.

Word can also search for formatting, such as a particular font style, and replace that formatting with another. In the desktop Find and Replace dialog, expand the additional options and use the Format controls. A search may then match text because of its formatting rather than its words. If a search seems to return unexpected results, clear any formatting criteria before starting a plain-text search.

Wildcards: useful, but not ordinary find

Wildcards can locate patterns when exact text is not enough, such as words with variable endings. In the desktop dialog, enable Use wildcards before entering a pattern. In that mode, symbols have special meanings, and Word’s pattern rules are not identical to the regular expressions used by many programming tools. A question mark and an asterisk can represent pattern matches, but their behavior depends on the wildcard mode and the rest of the search expression.

The practical rule is to test a wildcard search with Find Next before using Replace All. A pattern that is too broad may select more text than intended, and some characters that look like ordinary punctuation may have a special role. If the goal is simply to replace a known word or phrase, leave wildcards off. For complex pattern cleanup, make a copy first and consult Word’s wildcard guidance for the exact pattern you need.

Word desktop, Mac, and web differences

On Windows desktop Word, Ctrl+H and Home > Replace are direct ways to reach replacement. The Mac shortcut differs: use Command+Shift+H, or find Replace on the Home tab. The main workflow—enter a search term, enter replacement text, then choose an individual or all-match replacement—is the same, though dialog details and available advanced options may vary by release.

Word for the web provides find-and-replace controls through its ribbon, but browser shortcuts can behave differently from shortcuts in the desktop application. If a keyboard command opens a browser feature or does not show the expected controls, use the Word ribbon instead. Advanced options, including some wildcard or formatting searches, may be more complete in the desktop app. If an online document is open in a browser and a search feature seems limited, opening it in desktop Word may expose additional controls.

Common problems and how to avoid them

A replacement that changes too much is usually caused by a broad search term or an unchecked match option. Replace a distinctive phrase rather than a short fragment, use whole-word matching where appropriate, and preview matches. A replacement that changes too little may result from punctuation, capitalization, hidden spaces, or a search setting that narrows results. Compare the exact text in the document with what is in the Find field.

Other issues arise when text is not ordinary editable body text. Headers, footers, footnotes, text boxes, comments, and tracked changes can have different search behavior depending on the version and context. If expected text is not found, inspect where it appears and whether Word is searching the relevant part of the document. For documents with Track Changes enabled, replacements may appear as edits for review rather than silently replacing the visible text. Follow the document’s review process before accepting or rejecting those changes.

Finally, replacement affects text, not necessarily the meaning or layout around it. A longer replacement can alter line wrapping, page breaks, table widths, or headings. After a large operation, skim the changed sections and check page layout, especially in forms, resumes, and documents with carefully positioned content.

Frequently Asked Questions

What is the shortcut for Find and Replace in Word?

In Word for Windows, press Ctrl+H. In Word for Mac, use Command+Shift+H. You can also open Replace from the Home tab.

How do I replace every occurrence in Word?

Open Find and Replace, fill in both fields, and select Replace All. Check the search options first, because case and whole-word settings can limit which occurrences are changed.

Can I undo Replace All in Word?

Yes. Immediately press Ctrl+Z on Windows or Command+Z on Mac. If you have continued editing, review the undo steps carefully; saving a separate copy before a large replacement gives you another way to restore the original.

Why is Word not finding a word I can see?

Check for a spelling or punctuation difference, extra spaces, Match case, and Find whole words only. Also consider whether the text is in a header, footer, text box, or another area with different search behavior.

Can Find and Replace change formatting as well as words?

Yes. In desktop Word, expand the Find and Replace options and use the Format controls to search for or apply formatting. Clear formatting criteria when you want to return to a text-only search.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.