Use the Find and Replace tool to search your document

Google Docs has a built-in search tool that finds every instance of a word or phrase in your document. Open your document, then press Ctrl+F on Windows or Cmd+F on Mac. A search box appears at the top right of your screen. Type the word you want to find, and Google Docs highlights every match in yellow.

The search box shows how many times that word appears — the number sits next to your search term. You can click the up and down arrows to jump between each instance one at a time. This is useful when you want to check how often you've used a particular word or find a specific sentence you remember only partially.

If you want to replace words as well as find them, use Ctrl+H on Windows or Cmd+H on Mac instead. This opens the Find and Replace panel, which has two fields: one for the word you want to find and one for what you want to replace it with.

Key Takeaways

  • Press Ctrl+F (Windows) or Cmd+F (Mac) to open the Find tool and search for any word or phrase in your document.
  • Use Ctrl+H (Windows) or Cmd+H (Mac) to open Find and Replace, which lets you change words throughout your document at once.
  • The search box shows the total number of matches and lets you navigate between them with arrow buttons.
  • Match case and whole word options let you narrow your search so you find only exact matches instead of partial ones.

Replace one word at a time or all at once

Once you have the Find and Replace panel open, type the word you want to find in the first field and the replacement word in the second field. You have two choices: click Replace to change only the current instance, or click Replace all to change every instance in the document at once.

Replace all is faster when you are certain about the change — for example, if you misspelled someone's name throughout a document and want to fix it everywhere. Use Replace one at a time when you are less sure, because some instances of the word might need to stay the same. For example, if you search for "bank" to replace it with "financial institution," you might want to keep "bank" in the phrase "riverbank" but change it elsewhere.

Use Match Case to find exact capitalization

By default, Google Docs ignores whether letters are uppercase or lowercase. If you search for "apple," it finds "apple," "Apple," and "APPLE." This is usually helpful, but sometimes you need to find only the exact capitalization.

Click the three dots next to the search field to open more options. Check the Match case box if you want to search for only lowercase "apple" or only capitalized "Apple." This is useful when you are looking for a proper noun — a person's name or place name — and want to avoid matching common words that happen to be spelled the same way.

Search for whole words only

If you search for "read," Google Docs normally finds "read," "reading," "reader," and "already" — anything containing those letters in that order. When you want to find only the exact word "read" by itself, check the Match entire word only option in the same menu.

This prevents false matches. For instance, if you search for "the" without this option, you will find "the," "them," "then," "there," and "other." With the option turned on, you find only the word "the" standing alone. This is especially useful for short words that appear inside longer words.

Search within comments and suggestions

The Find tool searches only the main text of your document by default. If you want to search inside comments or suggested edits, click the three dots and check Search in comments. This is helpful when you are reviewing feedback from other people and want to find all comments mentioning a particular topic.

The search results will show you which comments contain your search term, and clicking a result jumps you directly to that comment in the document. This saves time when you have many comments and need to find the ones about a specific subject.

Use regular expressions for advanced searches

If you know how to write regular expressions — a pattern language for matching text — you can use them in Google Docs. Click the three dots and check Regular expressions. This lets you search for patterns instead of exact words. For example, you could search for any number, any email address, or any word that starts with a certain letter.

Regular expressions are powerful but require learning the syntax. If you are not familiar with them, the basic Find and Replace tool handles most everyday tasks. But if you work with structured data or need to find text that follows a pattern, this option exists and can save significant time.

Keyboard shortcuts for faster searching

Beyond the basic Ctrl+F and Ctrl+H shortcuts, Google Docs has a few other quick commands. After you open the Find box with Ctrl+F, press Enter or click the down arrow to jump to the next match. Press Shift+Enter or click the up arrow to jump to the previous match. These shortcuts let you navigate through results without touching your mouse.

If you have the Find and Replace panel open and want to replace the current match, press Ctrl+Shift+H (Windows) or Cmd+Shift+H (Mac) to focus on the Replace field, then press Enter to replace and move to the next match. Learning these shortcuts makes searching and replacing much faster, especially in long documents.

Frequently Asked Questions

Can I search for line breaks or paragraph marks?

Yes, but only if you enable regular expressions. With regular expressions turned on, search for $ to find paragraph breaks. This is useful when you want to find and remove extra blank lines or reformat how paragraphs are separated in your document.

What happens if I replace something by accident?

Press Ctrl+Z (Windows) or Cmd+Z (Mac) when ready to undo the replacement. Google Docs keeps a full undo history, so you can undo multiple replacements if you need to. The undo button is also in the toolbar at the top of your document.

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

Not directly through the Find tool. However, you can select the section you want to search, then use Find — it will search only within your selection. Deselect the text to search the whole document again.

Does Find and Replace work the same way on mobile as on desktop?

The mobile app for Google Docs has a Find tool but not a full Find and Replace panel. On a phone or tablet, you can search for words, but to replace them you need to use a computer or access Google Docs through a mobile web browser.