The fastest way to search a Word document
Open the document in Microsoft Word, then press Ctrl+F on Windows or Command+F on Mac. A search box will appear at the top of the screen. Type the word or phrase you are looking for, and Word will highlight every match in the document and show you how many times it appears.
The search box stays open while you work, so you can search again without reopening it. Press Enter or click the down arrow to jump to the next match. If you want to close the search box, press Escape or click the X button.
This same keyboard shortcut works in Google Docs, LibreOffice, and most other document editors. The search box may look slightly different depending on which program you use, but the basic function is the same.
Key Takeaways
- Press Ctrl+F (Windows) or Command+F (Mac) to open the search box in any document editor.
- Word highlights all matches on the current page and shows a count of total matches in the document.
- Use the Find & Replace feature (Ctrl+H) to change every instance of a word at once instead of one at a time.
- Search works the same way whether your document is stored locally or in the cloud, and whether you are using Word, Google Docs, or LibreOffice.
Searching for exact phrases instead of single words
If you are looking for a specific phrase rather than just one word, type the whole phrase into the search box. Word will only highlight matches that contain those words in that exact order. This is useful when you remember part of a sentence but not where it appears in the document.
For example, searching for "quarterly budget review" will find that exact phrase but will not highlight "budget review quarterly" or "quarterly review of the budget." If you want to find any of those variations, search for just the most distinctive word instead — in this case, "quarterly" or "budget."
Using Find & Replace to change multiple instances at once
If you need to change the same word or phrase throughout your document, use Find & Replace instead of Find alone. Press Ctrl+H on Windows or Command+H on Mac. A larger dialog box will open with two search fields: one for what you want to find and one for what you want to replace it with.
Type the word you want to find in the first field and the replacement word in the second field. Click "Replace All" to change every instance at once, or click "Replace" to change them one at a time so you can review each match first. This is much faster than manually editing each occurrence, especially in long documents.
Be careful with Replace All — if you search for a common word like "the," you might accidentally change parts of other words. For example, replacing "the" with "a" would turn "theater" into "aater." When in doubt, use Replace (not Replace All) so you can see each match before it changes.
Finding text that appears only on certain pages
The basic search function finds text anywhere in the document, but sometimes you need to know which page something is on. When Word finds a match, it automatically scrolls to that location and highlights it. Look at the page number shown at the bottom of the screen or in the status bar to see which page you are on.
If you want to search only within a specific section of the document, first select that section by clicking and dragging to highlight it. Then open the search box with Ctrl+F. Word will search only within your selection. When you are done, click somewhere else in the document to deselect the text and return to searching the whole document.
Searching with special characters and line breaks
Sometimes you need to search for text that includes punctuation, numbers, or special formatting. The basic search handles most punctuation normally — searching for "don't" will find that word with the apostrophe. If you need to search for a line break or paragraph mark, you will need to access the advanced search options.
In Microsoft Word, click the arrow next to the search box to expand it and show more options. Look for a button labeled "More" or a three-dot menu. From there you can search for paragraph marks, tabs, and other special characters. In Google Docs and LibreOffice, these advanced options are usually in a menu labeled "More options" or "Other options" within the search dialog.
What to do when search does not find what you are looking for
If you search for something you know is in the document but the search returns no results, the most common reason is a spelling difference or extra space. Try searching for just part of the word — for example, search for "color" instead of "colored" to catch both spellings. You can also try removing extra spaces from your search term.
Another possibility is that the text is formatted differently than you expect. If you are searching for a number or date, try searching without punctuation — search for "2024" instead of "2024." or "01012024" instead of "01/01/2024." If the text is in a header, footer, or text box rather than the main document body, some search functions may not find it by default. Check the search settings to make sure you are searching the entire document.
Searching across multiple documents at once
If you need to find text in more than one document, you can search across all files in a folder. In Microsoft Word, click File, then click "Search" or use the search function in Windows File Explorer to look for documents containing specific text. In Google Docs, use the search box at the top of your Drive to find documents by content.
For LibreOffice, open the File menu and look for "Find & Replace" or use the Find toolbar, then look for an option to search in multiple documents. The exact steps vary depending on which program you use and whether your documents are stored locally or in the cloud, but all of these editors offer some way to search across multiple files.
Frequently Asked Questions
Can I search for text that is formatted in a specific way, like bold or italics?
Yes, but the method depends on your program. In Microsoft Word, open Find & Replace (Ctrl+H), click "More," then look for a "Format" button. You can then specify that you want to find only bold text, italicized text, or text in a specific font. Google Docs and LibreOffice have similar options in their advanced search menus, though the exact location varies.
What is the difference between Find and Find & Replace?
Find (Ctrl+F) locates text and shows you where it is. Find & Replace (Ctrl+H) does the same thing but also lets you change the text to something else. Use Find when you just need to locate something, and Find & Replace when you need to change it throughout the document.
Does the search function work the same way in Word Online as it does in the desktop version?
Yes. Ctrl+F opens the search box in Word Online just as it does in the desktop version. The search box looks slightly different and has fewer advanced options, but basic searching and Find & Replace work the same way. If you need advanced formatting options, you may need to use the desktop version of Word.
Can I search for a word but exclude certain results?
The basic search function does not have an exclude option, but Find & Replace can help. Search for the word you want to find, review each match with the Replace button (not Replace All), and skip the ones you do not want to change. Some advanced search tools outside of Word offer exclusion filters, but the built-in search in most document editors does not.
Why does my search show different results when I search the same thing twice?
This usually happens if the document has been edited between searches or if you accidentally changed the search term slightly. Check that you are typing the same word both times, including spelling and spacing. If the document is shared or stored in the cloud, another person may have edited it between your searches.