Finding text in a Google Document with the search tool

Open the document you want to search, then press Ctrl+F on Windows or Command+F on Mac. A search box will appear at the top right of your screen. Type the word or phrase you are looking for, and Google Docs will highlight every match in yellow as you type.

The search box shows you how many times that word appears in the document — the number sits next to your search term. Use the up and down arrows in the search box to jump from one match to the next. This is faster than scrolling through a long document by hand, especially if you are looking for something that appears many times.

When you are done searching, press Escape or click the X button in the search box to close it. The highlighting disappears, but your cursor stays where you were when you closed the search.

Key Takeaways

  • Press Ctrl+F (Windows) or Command+F (Mac) to open the search box in any Google Document.
  • Google Docs highlights all matches in yellow and tells you how many times the word appears in the document.
  • Use the arrow buttons to move between matches one at a time instead of scrolling manually.
  • The search box closes when you press Escape, but your place in the document is saved.
  • Search works on text only — it does not find words inside images or drawings.

Searching for exact phrases instead of single words

If you search for a single word like "water," Google Docs will highlight every instance — "water," "watering," "watermelon," and so on. To find only the exact phrase you typed, put quotation marks around it. Search for "water" (with the quotes) and it will skip "watering" and "watermelon" and show only the word "water" by itself.

This matters when you are looking for a specific sentence or a term that has multiple forms. For example, searching for "project important date" will find only that exact two-word phrase, not documents that mention "project" and "important date" separately on different lines.

What the search tool cannot find

The search function in Google Docs looks only at text you can select and edit. It does not search inside images, even if the image contains text. It does not search the text of drawings or shapes. If you have pasted a screenshot or a photo into your document, the words in that image are invisible to the search tool.

The search also does not look in comments or suggestions — only in the main document body. If someone left a comment with the word you are searching for, you will not see that comment highlighted in the search results. You have to scroll through comments separately.

Using search to navigate a long document

Search is useful for more than finding a single word. If you are working on a document with many sections, you can search for a section heading to jump to it when ready. For example, if your document has headings like "Introduction," "Methods," and "Results," searching for "Methods" takes you directly to that section without scrolling.

This also works for names, dates, or any text that marks a location in the document. If you are editing a contract and need to find every place where a client's name appears, search for the name and use the arrow buttons to move through each mention. You can then edit or review each one without losing your place.

Replacing text across your entire document

Google Docs has a second tool called Find and Replace that goes beyond search. Press Ctrl+H on Windows or Command+H on Mac to open it. This box lets you type a word you want to find and a word you want to replace it with, then replace one instance at a time or all instances at once.

Replace one at a time if you want to check each match before changing it — useful when a word has multiple meanings and you only want to replace some of them. Click "Replace all" if you are certain every match should change. Google Docs will tell you how many replacements it made.

Be careful with Replace all. If you search for a short word like "to" and replace it with something else, you might accidentally change words like "into" or "toward." Using quotation marks around your search term (like "to" with a space after it) makes the replacement more precise.

Searching when you share a document with others

When multiple people are editing the same Google Document, the search tool shows only the current version of the document — the one on your screen right now. If someone else is typing in the document at the same time, their changes appear after a short delay, and the search does not update until you close and reopen the search box.

If you need to find something that another person added, close the search box, wait a moment for their edits to sync, then open search again. This is rarely a problem in practice because most edits sync within a second or two.

Keyboard shortcuts that work with search

Once you have the search box open, you can use keyboard shortcuts to move faster. Press Enter or click the down arrow to go to the next match. Press Shift+Enter or click the up arrow to go to the previous match. These shortcuts let you keep your hands on the keyboard instead of reaching for the mouse.

If you want to search for the same word again without typing it, close the search box and press Ctrl+F (or Command+F) again — your last search term will still be in the box, ready to use.

Frequently Asked Questions

Can I search for a word and see it in context before I click on it?

The search box shows you the number of matches and highlights them in yellow as you type, so you can see context when ready. Use the arrow buttons to move between matches and read the surrounding text. Google Docs does not show a preview window, but the highlighting makes it straightforward to see what is around each match.

Does search work the same way in Google Sheets or Google Slides?

Yes. Press Ctrl+F (Windows) or Command+F (Mac) in Sheets or Slides to open the search box. In Sheets, search looks through all cells in the current sheet. In Slides, it searches the text on all slides. The Find and Replace tool (Ctrl+H or Command+H) works in both as well.

What happens if I search for a word that does not exist in the document?

Google Docs will show "0" next to your search term, meaning no matches were found. The search box stays open so you can try a different word or check your spelling. This is helpful if you are not sure whether a word is in the document.

Can I search for special characters like asterisks or question marks?

Yes, you can search for any character you can type. However, Google Docs treats them as literal characters, not as wildcards. If you search for an asterisk, it finds only asterisks, not a pattern that matches multiple words the way some other tools do.

Does the search tool work if the document is offline?

Yes. If you have enabled offline mode in Google Drive, you can open a document and search it even without an internet connection. The search works the same way — press Ctrl+F or Command+F and type your term. However, you cannot use Find and Replace offline.