Use Find and Replace to change words throughout your document at once

Google Docs has a built-in tool called Find and Replace that searches your entire document for a word or phrase and swaps it out for something else. This saves you from manually hunting through pages to fix the same mistake, update a name, or change terminology. The tool works the same way whether you're on a computer or using the Google Docs app on your phone.

The fastest way to open Find and Replace is to press Ctrl+H on Windows or Command+H on Mac. A panel will slide open on the right side of your screen with two text boxes: one for the word you want to find, and one for the word you want to replace it with.

Key Takeaways

  • Press Ctrl+H (Windows) or Command+H (Mac) to open the Find and Replace panel instantly.
  • 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.
  • Use the "Match case" option if you need to distinguish between uppercase and lowercase versions of the same word.
  • Click "Replace" one at a time instead of "Replace All" if you want to check each change before it happens.
  • The tool shows you how many matches it found before you commit to replacing them.

Step-by-step: replacing a single word throughout your document

Open your Google Docs document and press Ctrl+H (Windows) or Command+H (Mac). The Find and Replace panel appears on the right side of the screen.

In the top text box labeled "Find," type the word or phrase you want to search for. For example, if you wrote "colour" throughout a document but need to change it to "color," type "colour" here. Google Docs will start highlighting matches in your document as you type.

In the second text box labeled "Replace with," type the new word or phrase. In this example, you would type "color." Now you have two choices: click "Replace All" to change every instance at once, or click the single "Replace" button to change one at a time and review each change before it happens.

If you click "Replace All," Google Docs tells you how many replacements it made at the bottom of the panel. The panel stays open so you can search for something else if you need to. Click the X button to close it when you're done.

When to use "Replace" instead of "Replace All"

Sometimes a word appears in your document in different contexts, and you don't want to change all of them. For example, if you search for "bank," you might find sentences about a river bank and sentences about a financial bank. Using "Replace All" would change both, which could create nonsense.

In these cases, click the single "Replace" button instead. Google Docs highlights one match at a time and waits for you to decide. Click "Replace" to change that specific instance, or click the down arrow to skip it and move to the next match. This takes longer but gives you control over each change.

You can also use the "Replace All" button safely if you're confident the word always means the same thing in your document. For instance, if you misspelled a person's name as "Micheal" throughout a 20-page report, "Replace All" is the right choice because the name means the same thing every time it appears.

Using "Match case" to distinguish between uppercase and lowercase

By default, Google Docs treats uppercase and lowercase versions of the same word as identical. If you search for "hello," it will find "hello," "Hello," and "HELLO." Sometimes this is what you want, but sometimes it isn't.

Click the three dots menu in the Find and Replace panel to reveal more options. Check the box next to "Match case" if you want to search for only the exact capitalization you typed. Now searching for "hello" will find only lowercase "hello" and skip "Hello" or "HELLO." This is useful when you're fixing a proper noun or a word that should always be capitalized in a certain way.

Searching for phrases and special characters

Find and Replace works with multi-word phrases just as well as single words. Type "New York" in the Find box and "NYC" in the Replace box, and Google Docs will swap out the full phrase. This is helpful when you want to shorten something or standardize how you refer to a location or organization throughout your document.

You can also search for line breaks and paragraph marks using special codes. Click the three dots menu and look for an option labeled "Regular expressions" — this unlocks the ability to search for patterns like "any number" or "any punctuation mark." For most everyday replacements, you won't need this, but it's there if you're doing something more complex.

What to do if Find and Replace doesn't find what you're looking for

If you type a word in the Find box and Google Docs says "No matches found," the most common reason is a typo in your search term. Double-check the spelling of what you're looking for. Also check whether you have "Match case" turned on — if you're searching for "Hello" with a capital H but your document only contains "hello" in lowercase, it won't find anything.

Another possibility is that the word appears in a comment or suggestion rather than in the main document text. Find and Replace searches only the document body by default, not comments or tracked changes. If you think the word might be in a comment, search for it manually by pressing Ctrl+F (Windows) or Command+F (Mac) to open the simpler Find tool, which does search comments.

If you're searching for a phrase with special formatting — like bold or italic text — the basic Find and Replace won't catch it. You would need to use the "Regular expressions" option in the advanced menu, which requires learning the pattern codes for that formatting type.

Undoing a replacement if you change your mind

If you click "Replace All" and immediately realize you made a mistake, press Ctrl+Z (Windows) or Command+Z (Mac) to undo the entire replacement. Google Docs will restore all the original words. This works as long as you undo right away — if you close the document and come back later, the undo history is gone.

This is why clicking "Replace" one at a time is safer if you're unsure about a change. It takes longer, but you catch mistakes as they happen rather than discovering them after 50 replacements have already been made.

Frequently Asked Questions

Can I search for a word and replace it with nothing to delete it?

Yes. Leave the "Replace with" box empty and click "Replace All." Google Docs will remove every instance of that word from your document. This is useful for deleting repeated words like "very very" or removing a word you've decided doesn't belong.

Does Find and Replace work in shared documents?

Yes, it works the same way in documents you share with others. However, if someone else is editing the document at the same time you use Find and Replace, their changes might not show up in your search results until you refresh the page. It's safest to use Find and Replace when you're the only person actively editing.

Can I search for a word only in a specific part of my document?

The standard Find and Replace searches the entire document. If you want to replace something only in one section, you can select that section first, then open Find and Replace — it will search only within your selection. Deselect the text when you're done so the next search covers the whole document again.

What's the difference between Find and Replace and the regular Find tool?

The regular Find tool (Ctrl+F or Command+F) only searches for words and highlights them — it doesn't change anything. Find and Replace (Ctrl+H or Command+H) lets you search and swap words out. Use Find when you just want to locate something; use Find and Replace when you want to change it.