Use Find and Replace to change one word throughout your document at once
Google Docs has a built-in Find and Replace tool that searches for a word or phrase and swaps it for something else in every location at once. This is faster and more reliable than manually hunting through your document, especially in longer files where you might miss instances. You can replace a single occurrence, all occurrences, or review each one before replacing it.
The tool works the same way whether you're on a computer or using the Google Docs mobile app, though the steps differ slightly. You can also use Find and Replace to fix formatting issues, like removing extra spaces or changing how a term appears throughout your document.
Key Takeaways
- Open Find and Replace by pressing Ctrl+H on Windows or Cmd+H on Mac, or use the menu: Edit > Find and Replace.
- Type the word you want to find in the first box and the replacement word in the second box, then click Replace All to change every instance at once.
- Click Replace instead of Replace All if you want to review each instance before replacing it, which is useful when the word appears in different contexts.
- Use the Match Case option if you need to replace only lowercase or uppercase versions, and use Match Entire Cell Content to avoid replacing partial words.
- On mobile, open the menu (three dots), tap Find and Replace, and follow the same process as on desktop.
How to open Find and Replace on a computer
The fastest way is to use the keyboard shortcut: press Ctrl+H if you're on Windows, or Cmd+H if you're on Mac. A panel will open on the right side of your screen with two text boxes — one for the word you want to find and one for the replacement.
If you prefer using the menu, click Edit at the top of your document, then select Find and Replace from the dropdown. This opens the same panel as the keyboard shortcut.
Finding and replacing a single word or phrase
Type the word or phrase you want to find in the top box labeled "Find". Be exact — if you type "color" it will not find "colours" or "colored". Then type what you want to replace it with in the box labeled "Replace with".
If you want to change only one instance, click the Replace button (not Replace All). Google Docs will highlight the first match in your document. Review it to make sure it's the right one, then click Replace to swap it out. If it's not the one you want, click the down arrow or the next match button to move to the next instance without replacing.
If you want to replace every instance at once, click Replace All. Google Docs will show you how many replacements it made. This is useful when you're confident the word appears only in the context you want to change — for example, replacing "client" with "customer" throughout a proposal.
Using options to make your search more precise
Below the two text boxes, you'll see several options that let you control how strictly Google Docs matches your search. Click the down arrow next to "More options" to see them all.
Match Case makes the search case-sensitive. If you check this box and search for "John", it will find "John" but not "john". This is useful if you want to replace only proper nouns or only lowercase versions of a word.
Match Entire Cell Content (sometimes labeled "Match Entire Word") prevents Google Docs from replacing partial words. If you search for "read" without this option checked, it will also replace the "read" inside "thread" or "already". With this option checked, it will only replace "read" when it stands alone as a complete word.
You can use both options together. For example, you could search for "the" with Match Entire Cell Content checked and Match Case checked, and it will replace only the word "the" in lowercase, not "The" at the start of a sentence and not "the" inside "theater".
How to use Find and Replace on your phone or tablet
Open your Google Docs document on the mobile app. Tap the three-dot menu icon in the top right corner, then tap Find and Replace. The same panel appears as on desktop.
Type the word you want to find in the first field and the replacement in the second field. Tap Replace All to replace every instance, or tap the down arrow to move through each match one at a time and tap Replace for the ones you want to change. The process is identical to desktop, just with touch controls instead of a keyboard.
What to do if Find and Replace doesn't find your word
If Google Docs says it found zero matches, check for these common reasons: you may have misspelled the word, the word might be split across a line break or page break, or it might be inside a comment or suggestion rather than in the main document text. Google Docs does not search inside comments, tracked changes, or the revision history.
If the word is definitely in your document but Find and Replace isn't finding it, try copying the word directly from your document and pasting it into the Find box. Sometimes invisible formatting or special characters prevent a manual search from matching.
Replacing text with different formatting
Find and Replace changes the text itself, but not the formatting. If you replace "old term" with "new term" and "old term" was bold, the replacement will appear in regular text. You'll need to manually format the replacement, or you can undo the replacement, apply the formatting to the replacement text first, and try again.
If you want to remove all instances of a word without replacing it with anything, leave the "Replace with" box empty and click Replace All. Google Docs will delete every instance of that word.
Frequently Asked Questions
Can I undo a Replace All if I made a mistake?
Yes. Press Ctrl+Z (Windows) or Cmd+Z (Mac) immediately after the replacement to undo it. Google Docs treats Replace All as a single action, so one undo reverses all the replacements at once. If you've made other changes since then, you may need to undo multiple times.
Will Find and Replace work on text inside images or PDFs embedded in my document?
No. Find and Replace only searches the editable text in your document. It cannot read text that appears inside images, screenshots, or embedded PDFs. You would need to edit those separately or replace the text outside the document.
Can I search for line breaks or special characters?
Google Docs Find and Replace does not support searching for line breaks, tabs, or other special characters the way some desktop programs do. You can search for regular text and punctuation, but not invisible formatting marks.
What's the difference between Replace and Replace All?
Replace changes only the current instance that's highlighted, then moves to the next match. Replace All changes every instance in the document at once without stopping to show you each one. Use Replace when you want to review each match first, and Replace All when you're confident the word should be replaced everywhere.
Does Find and Replace work the same way in shared documents?
Yes, but be careful. If someone else is editing the document at the same time, Replace All might affect text they just added. Google Docs will show you how many replacements were made, so you can check the document afterward to confirm the changes are correct.