Use Find & Replace to change one word or phrase throughout your document at once
The fastest way to replace a word in Word is to use the Find & Replace tool. Open it by pressing Ctrl+H on Windows or Command+Option+F on Mac. Type the word you want to find in the first box, type the replacement word in the second box, then click Replace All to change every instance at once. If you want to check each replacement before it happens, click Replace one at a time instead.
This tool saves time when you realize halfway through writing that you have been spelling someone's name wrong, or when you need to swap out a term across many pages. Word shows you how many replacements it made when you are done.
Key Takeaways
- Press Ctrl+H (Windows) or Command+Option+F (Mac) to open Find & Replace, then type the old word and new word in the two boxes.
- Click Replace All to change every instance at once, or click Replace to check each one before it changes.
- Use Match Case if you only want to replace a word when it is capitalized a certain way, or Match Whole Words Only to avoid changing part of a longer word.
- You can search for line breaks, paragraph marks, and other invisible characters by using special codes like ^p for paragraph marks.
- If you make a mistake, press Ctrl+Z when ready to undo all the replacements at once.
When to use Replace All versus Replace one at a time
Replace All is safe when you are certain the word you are replacing appears only in the context you want. For example, if you want to change "colour" to "color" throughout a British English document, Replace All will work fine. Word will change every single instance without asking.
Replace (the button that changes one instance at a time) is better when the word you are searching for might appear in different contexts. If you search for "read" to change it to "understand", you might find "read" used as a past tense verb in one place and as a present tense verb in another — and you might not want to change all of them. Clicking Replace one at a time lets you decide for each occurrence.
Options that control what gets replaced
Word offers several checkboxes that narrow down what counts as a match. Match Case means Word will only replace "Apple" if it is capitalized that way, and will leave "apple" alone. This is useful when you are replacing a proper noun or a word that should only be capitalized in certain places.
Match Whole Words Only prevents Word from replacing part of a longer word. If you search for "read" without this option checked, Word will also change "reading" and "reader". With the option checked, only the standalone word "read" gets replaced. This is almost always what you want unless you are doing something unusual like replacing word fragments.
You can also search for wildcards and regular expressions if you turn on those options, but these are advanced features most people do not need. They let you search for patterns instead of exact words — for example, finding any word that starts with "un" — but the syntax is complex.
How to find and replace invisible characters
Sometimes you need to replace things you cannot see, like extra spaces, line breaks, or paragraph marks. Word uses special codes for these. Press Ctrl+H to open Find & Replace, then click More (or Options on Mac) to see the full menu. At the bottom, you will see a button called Special that lists the codes.
The most common ones are ^p for a paragraph mark (a hard return you made by pressing Enter) and ^l (that is a lowercase L) for a line break (a soft return you made by pressing Shift+Enter). If you have double spaces between sentences and want to change them to single spaces, search for two spaces in the Find box and one space in the Replace box. This is one of the most useful replacements people actually do.
What to do if you replace the wrong thing
If you click Replace All and when ready realize you made a mistake, press Ctrl+Z right away to undo all the replacements at once. Word treats the entire Replace All operation as a single action, so one undo reverses everything. If you wait too long or do other things first, you may not be able to undo it all in one step.
If you cannot undo, you can use Find & Replace again to swap the words back — search for the replacement word and put the original word back in the Replace box. This is slower but it works.
Replacing text in headers, footers, and comments
By default, Find & Replace only searches the main body of your document. If you need to replace text in a header or footer, you have to open that section first. Double-click at the top or bottom of the page to enter header or footer editing mode, then open Find & Replace as usual. When you are done, double-click back in the main document to exit.
If you have comments in your document and want to search inside them, you need to turn on that option. In the Find & Replace dialog, look for a checkbox that says Comments or Search in Comments (the exact wording varies by Word version). Without it checked, comments are skipped.
Limitations of Find & Replace in Word
Find & Replace works on text only, not on formatting. You cannot search for "all words in bold" and replace them with "all words in italics". You also cannot replace text inside shapes, text boxes, or embedded objects — only text in the regular document flow.
If your document is very long or has complex formatting, Find & Replace sometimes runs slowly. Closing other programs and saving your document first can help. Word also cannot search across multiple documents at once; you have to open each document and run Find & Replace separately.
Frequently Asked Questions
Can I replace text in only part of my document?
Yes. Select the section of text you want to search, then open Find & Replace. Word will only search within your selection. If you do not select anything, it searches the whole document.
What if I want to replace a word but keep some letters capitalized?
Use the Match Case option and type the replacement exactly as you want it to appear. If you want to replace "iPhone" with "Apple phone", type both with the exact capitalization you need. For more complex capitalization changes, you may need to do multiple replacements.
Can I search for a word that appears at the start or end of a line?
Yes, but you need to turn on Regular Expressions in the Find & Replace dialog. Then use ^ to mean "start of a line" and $ to mean "end of a line". This is an advanced feature and the syntax takes practice.
Does Find & Replace work the same way in Word Online?
Word Online has a simpler Find & Replace tool. Press Ctrl+H to open it, but you will see fewer options than the desktop version. You cannot search for special characters or use regular expressions in Word Online. For complex replacements, use the desktop version of Word instead.
What happens if I replace a word that appears in a table?
Find & Replace searches inside tables the same way it searches the rest of the document. The word gets replaced wherever it appears, including in table cells. If you only want to replace text in one table, select that table first before opening Find & Replace.