Use Find & Replace to swap one word for another throughout your document

Microsoft Word's Find & Replace tool lets you change a word, phrase, or number everywhere it appears in your document at once. You open it with Ctrl+H on Windows or Command+H on Mac, type the word you want to remove and the word you want to put in its place, then choose whether to replace one instance or all of them. The tool works across your entire document, headers, footers, and comments — so you do not have to hunt through pages manually.

This is faster and more reliable than scrolling through and editing by hand, especially in long documents where you might miss an occurrence or accidentally change something you meant to keep.

Key Takeaways

  • Open Find & Replace with Ctrl+H (Windows) or Command+H (Mac), then type the word to find and the word to replace it with.
  • Click "Replace All" to change every occurrence at once, or "Replace" to change one at a time and skip instances you want to keep.
  • Use "Match Case" if you need to replace only uppercase or lowercase versions, and "Whole Words Only" to avoid changing parts of longer words.
  • Word shows you how many replacements it made, so you can undo the change if something went wrong.

Step-by-step: replacing a single word

Press Ctrl+H (Windows) or Command+H (Mac). The Find & Replace dialog box opens on the right side of your screen or in a separate window, depending on your Word version.

Type the word you want to find in the "Find" field. Type the replacement word in the "Replace" field. Click the "Replace" button to change just that one instance, or click "Replace All" to change every occurrence at once. Word tells you how many replacements it made in a message at the bottom of the dialog.

If you made a mistake, press Ctrl+Z when ready to undo all the replacements.

When to use "Replace All" versus "Replace"

Use "Replace All" when you are certain the word you are searching for should be replaced everywhere — for example, if you typed a client's name wrong throughout a proposal and need to fix every instance. This saves time and eliminates the risk of missing one.

Use "Replace" (one at a time) when the word appears in different contexts and you only want to change it in some places. For instance, if you search for "bank" and sometimes mean the financial institution and sometimes mean the riverbank, you can review each occurrence and decide whether to replace it.

Using Match Case and Whole Words Only

Match Case makes the search sensitive to uppercase and lowercase letters. If you check this box and search for "Word," it will find "Word" but not "word." This is useful when you need to replace a proper noun or a term that should always be capitalized without accidentally changing lowercase versions elsewhere.

Whole Words Only ensures the search finds only complete words, not parts of longer words. If you search for "read" without this option checked, it will also match "reading," "reader," and "already." Checking the box prevents those false matches. This matters most when you are replacing short words that might appear inside other words.

Replacing with special characters or nothing at all

You can use Find & Replace to remove words entirely by leaving the "Replace" field blank. Search for the word, leave the replacement field empty, and click "Replace All." Word will delete every instance.

You can also replace a word with a special character, a line break, or a paragraph mark. In the "Replace" field, click "More Options" or "Special" (depending on your Word version), then select the character you want to insert. For example, you might replace all instances of a dash with an em dash, or replace a word with a line break.

Undoing a replacement if it went wrong

If you click "Replace All" and the results are not what you expected, press Ctrl+Z when ready to undo the entire operation. Word will restore your document to the state it was in before the replacement.

If you have already closed the Find & Replace dialog and made other edits, you may not be able to undo the replacement cleanly. For this reason, it is a good idea to save your document before doing a large "Replace All" operation, so you can close without saving and reopen the original if something goes wrong.

Finding and replacing across multiple documents

The standard Find & Replace tool works on one document at a time. If you need to replace a word in multiple Word files at once, you have two options: open each document and run Find & Replace separately, or use a third-party tool designed for batch replacements.

For most users, opening each document individually is the most straightforward approach. Open the first document, run Find & Replace, save it, then move to the next. If you work with many documents regularly, you might explore batch-processing tools, but Word itself does not have a built-in feature for this.

Frequently Asked Questions

Can I replace a word with a different word that has different capitalization?

Yes. If you search for "hello" and replace it with "Hi," Word will change every instance to "Hi" exactly as you typed it. If you need Word to match the original capitalization — so "Hello" becomes "Hi" and "HELLO" becomes "HI" — you will need to do separate replacements for each case, or use the "Match Case" option to handle them one at a time.

What if the word I want to replace is part of a longer word?

Check the "Whole Words Only" box before you search. This tells Word to match only complete words, so searching for "read" will not match "reading" or "already." Without this option, Find & Replace treats partial matches the same as whole words.

Can I undo a Replace All if I already saved the document?

If you saved after the replacement, you cannot undo it in the normal way. Close the document without saving any new changes, then reopen it — it will revert to the last saved version. If you have made other edits you want to keep, you may need to manually fix the replacements or use a previous version if your system has file history enabled.

Does Find & Replace work in headers and footers?

Yes. Find & Replace searches the entire document, including headers, footers, and text boxes. If you want to search only the main body and skip headers and footers, you will need to do the replacements manually in those sections.

Can I search for a line break or paragraph mark and replace it?

Yes. Click "More Options" or "Special" in the Find & Replace dialog, then select "Paragraph Mark" or "Line Break" from the menu. You can search for these invisible characters and replace them with text, or vice versa. This is useful for cleaning up formatting issues across a large document.