Find and Replace in Word: How It Works

How-to basics · Updated November 3, 2026

Find and Replace in Word: How It Works

Yes. Microsoft Word includes Find and Replace, which can locate text and change one or every matching occurrence in a document. In Word for Microsoft 365 on Windows, press Ctrl+H or choose Home > Replace; enter the text to find and its replacement, then choose Replace or Replace All.

What Find and Replace does

Find and Replace searches a Word document for text you specify and lets you substitute different text. It is useful for correcting a repeated typo, updating a product name, changing a date format, or replacing a phrase that appears many times. You can handle matches individually or tell Word to change all matches within the search scope.

The feature is more than a simple spelling correction. Its options can narrow a search by capitalization, whole-word matching, or formatting, and Word also provides wildcard searches for more complex patterns. Those options are helpful when a document is long, but they make it especially important to review what Word considers a match before applying a broad replacement.

Find and Replace changes document content; it is not the same as editing a style or changing every instance of a font throughout a document. If the goal is to change the appearance of all body text, for example, modifying the relevant style may be more reliable than searching for words one by one.

How to find and replace text in Word

In Word for Microsoft 365 on Windows, Ctrl+H opens the Replace controls. You can also use the ribbon: select Home > Replace in the Editing group. Then follow these steps:

  1. Enter the existing word, phrase, number, or punctuation in the Find what box.
  2. Enter the new text in the Replace with box. Leave this box empty if you intend to remove the matching text.
  3. Choose Find Next to move to a match and inspect it. Use Replace to change that match and move on, or choose Replace All to change every match in the search scope.
  4. Read Word’s confirmation message after Replace All. It reports how many replacements were made; review the document to check the result and surrounding text.

For example, suppose a report uses the name Northstar Labs throughout, but the company is now called Northstar Research. Enter the old name as the search text and the new name as the replacement. Selecting Replace lets you check each instance, including cases where the name appears in a heading or a sentence that may need rewriting. Replace All is quicker if every occurrence should change in exactly the same way.

To search without changing anything, use Ctrl+F on Windows to open the Navigation pane and type the term in its search box. This is useful for checking how often a phrase appears or jumping between occurrences before deciding whether replacement is appropriate.

Choose between Replace and Replace All

Replace changes a match you have reviewed; Replace All applies the change across the current search scope without stopping for each occurrence. The first option takes longer but gives you control. The second is efficient for a consistent, unambiguous change, such as correcting a distinctive misspelling that cannot form part of another word.

Be cautious with short or common search terms. Replacing cat with dog could change the word category into dogegory if Word matches the letters inside a longer word. Turn on whole-word matching when you mean the standalone word, or search for a phrase specific enough to avoid unwanted results. Likewise, changing a date or number can affect references, examples, or passages where the old value is intentionally retained.

A selected passage can affect where Word searches, depending on the current selection and how the search was started. If you expect the operation to cover the whole document, clear any text selection first and check the search controls before choosing Replace All. After a large replacement, Ctrl+Z undoes the change on Windows if the result is wrong, although undo is not a substitute for reviewing important documents.

Search options and formatting

In the Windows Replace dialog, select More to see additional search options. Match case distinguishes capital letters from lowercase ones, so a search for Word can be limited to that capitalization rather than also matching word. Find whole words only avoids matching a term embedded in a longer word. Option names and their availability can vary somewhat between Word versions and platforms.

Use wildcards when an ordinary search is too exact. In Word’s wildcard mode, ? can stand for one character and * can stand for a run of characters. For instance, a pattern can help locate variations in a word or a sequence whose middle portion is not fixed. Word wildcards use Word-specific rules; they are not a full substitute for regular expressions, so test a pattern with Find Next before replacing matches. If Use wildcards is enabled, some ordinary search options and special-character codes behave differently.

Word can also search for formatting, not just characters. In the expanded Find and Replace dialog, use Format to specify properties such as font, style, or paragraph formatting. You might search for a particular font treatment and replace it with a different one, or find text with a certain format and remove that format. Formatting criteria can remain active after a search, so use No Formatting in the dialog when you want to clear them before starting a normal text search.

For special characters such as paragraph marks and tabs, use the Special menu in the expanded dialog where available, rather than guessing at a code. Some codes differ between Find and Replace, and wildcard searches restrict which codes can be used. This is another reason to test on a small, representative match before applying a document-wide operation.

What Word can and cannot replace

Find and Replace is designed for text and, with options, text formatting. It is not a general-purpose way to alter every visible element on a page. Text that is part of a picture, such as a scanned page or a screenshot, is image content rather than ordinary editable text, so a text search will not locate it unless the image has first been converted into text with suitable OCR software.

Documents can also contain text in tables, headers, footers, footnotes, comments, text boxes, or other objects. Search behavior may depend on the content type, Word version, and the way that content is stored. For a critical change, inspect the relevant areas separately instead of assuming that one Replace All operation covers every item that looks like text on the page.

Replacement is literal unless you deliberately use advanced options. If you replace a phrase, Word does not understand its meaning or automatically rewrite the sentence around it. A replacement can therefore create grammatical errors, duplicate punctuation, or awkward wording. For example, changing a singular department name to a plural one may require changes to nearby verbs as well.

Word on Mac and Word for the web

On a Mac, Word also provides Find and Replace. You can open it from Edit > Find > Replace or use the Replace command on the Home tab; Control+H is a common shortcut in Word for Mac. The Command key is used for many Mac shortcuts, but the replace shortcut is not necessarily the same as Windows Ctrl+H. If a shortcut behaves differently in your installation, use the ribbon or menu command.

Word for the web includes basic find-and-replace controls on the Home tab. Its interface and advanced search capabilities are not identical to the desktop application, and some options available in the Windows or Mac dialogs may be missing or more limited. If you need wildcard searching or detailed formatting criteria, open the document in the desktop Word app and use its expanded dialog.

In all versions, the command names and location can shift as Microsoft updates the interface. If you do not see Replace immediately, look on the Home tab or use Word’s command search to locate it. The core workflow remains the same: specify what to find, specify the replacement, and decide whether to review matches one at a time or replace them in bulk.

Common problems and safer fixes

  • Word says there are no matches: Check spelling, spaces, punctuation, and any active Match case, whole-word, formatting, or wildcard settings. Clear formatting criteria and try a shorter, distinctive part of the text.
  • Too many results appear: Use Match case or Find whole words only, or search for a longer phrase. A broad search term can match inside other words or in contexts you did not intend to edit.
  • Replace All changed the wrong text: Use Ctrl+Z on Windows or Command+Z on Mac promptly, then refine the search and test with Find Next. If you have performed many later actions, undo may also reverse those actions, so inspect the document carefully.
  • Formatting seems to affect later searches: Open the expanded dialog and clear saved formatting criteria with No Formatting. Then run a plain-text search again.
  • Only part of the document changed: Check whether a selection was active and inspect content in separate elements, such as headers, footers, or text boxes. Search may not cover every kind of object in the same way.

For high-stakes edits, save a copy before a large replacement. A duplicate is useful if you notice the problem after further edits or after closing the document, when a simple undo may no longer be available. You can also use Find Next repeatedly to confirm a proposed match pattern before running Replace All.

When another Word feature is a better choice

Use Find rather than Replace when your immediate goal is to navigate or count occurrences, not modify them. Use styles when you need to change the formatting of headings or body paragraphs consistently. Use Editor or spelling and grammar suggestions for potential language corrections that depend on context; Find and Replace applies your chosen substitution mechanically.

For a one-off correction, editing the sentence directly may be safest because you can read the whole passage as you revise it. For a recurring term that must be updated throughout a long file, Find and Replace is usually faster. A sensible approach is to use the least broad operation that meets the need: inspect individual matches when meaning matters, and reserve Replace All for a search that has been checked and has a predictable result.

Frequently Asked Questions

What is the shortcut for Find and Replace in Word?

In Word for Microsoft 365 on Windows, press Ctrl+H to open Replace. On Mac, Control+H commonly opens Find and Replace; you can also use Edit > Find > Replace. Word for the web has its own Home-tab controls, and shortcuts may be handled differently by the browser.

Can I replace a word without changing it inside other words?

Yes. In the expanded search options, turn on Find whole words only. This limits a search for a standalone word so it does not match the same letters embedded in a longer word. Check the matches before using Replace All, especially if punctuation or hyphens are involved.

Can Word find and replace formatting?

Yes. In the desktop Find and Replace dialog, open More and use Format to set formatting criteria. You can search for text with specified formatting and apply different formatting in the replacement. The available controls vary by platform, and saved criteria should be cleared when you return to a normal search.

Can I undo Replace All?

Usually, yes: press Ctrl+Z on Windows or Command+Z on Mac soon after the operation. Undo can reverse later edits as well if you have continued working, so check the result carefully. Saving a separate copy before a major replacement provides an additional recovery option.

Why does Find and Replace miss text I can see?

The text may be in an image, a separate object, or an area that the current search is not covering. A search can also miss text because of spelling differences or active case, whole-word, wildcard, or formatting settings. Clear restrictive options, then inspect the relevant object or document area directly.

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.